add some mockito feature