Mockito tests feature