mockito test is ok