@Test
public void findTest() {

    Mockito.when(scopeRepository.findByApiIdAndId(Mockito.anyLong(), Mockito.anyLong())).thenReturn(scope);
    Scope scopeActual = scopeService.find(this.scope.getApi().getId(), this.scope.getId());
    assertEquals(scope, scopeActual);
}