Revert "Fixed missing dependency on mockito"

This reverts commit d5e9708d44fd74a9d1780a11907c57d830f58da5.
Don't use Mockito in here