public Page<Organization> getAllOrganizations(int pageIndex, int pageSize) {
        return organizationRepository.findAll(PageRequest.of(pageIndex, pageSize));
    }
@Test
    public void getAllOrganizations() {
        when(repositoryMock.findAll(any(Pageable.class))).thenReturn(getPageOrganizations());

        Page<Organization> result = organizationServiceMock.getAllOrganizations(1, 10);

        verify(repositoryMock, times(1)).findAll(any(Pageable.class));
        assertNotNull(result);
    }