try a static 'when' wrapper for mockito