[kiwi & David] use @Mock with MockitoRunner instead of mock and refactor configure method