While a simple mock returns null (or defaults for primitives) to every call, it is possible to change that behaviour.
Dependency mock = Mockito.mock(Dependency.class, new Answer() {
@Override
public Object answer(InvocationOnMock invocationOnMock) throws Throwable {
...