PBR-472 Remove use of Mockito from API tests