avoid intermediate checks of Mockito