public void saveOrganization(Organization organization) {
        organizationRepository.saveAndFlush(organization);
    }
@Test
    public void saveOrganization() {
        when(repositoryMock.saveAndFlush(any(Organization.class))).thenReturn(newOrganization());

        organizationServiceMock.saveOrganization(newOrganization());

        verify(repositoryMock, times(1)).saveAndFlush(any(Organization.class));
    }