OrganizationalProviderServiceImpl implements
		OrganizationalProviderService { @Override public OrganizationalProvider updateOrganizationalProvider( OrganizationalProvider organizationalProvider) { return organizationalProviderRepository.save(organizationalProvider); } OrganizationalProviderServiceImpl(
			PatientRepository patientRepository, ModelMapper modelMapper,
			OrganizationalProviderRepository organizationalProviderRepository); @Override long countAllOrganizationalProviders(); @Override void deleteOrganizationalProvider(
			OrganizationalProvider organizationalProvider); @Override void deleteOrganizationalProviderDto(
			OrganizationalProviderDto organizationalProviderDto); @Override void deleteOrganizationalProviderDtoByPatientId(
			OrganizationalProviderDto organizationalProviderDto); @Override OrganizationalProvider findOrganizationalProvider(Long id); @Override OrganizationalProviderDto findOrganizationalProviderDto(Long id); @Override List<OrganizationalProvider> findAllOrganizationalProviders(); @Override List<OrganizationalProvider> findOrganizationalProviderEntries(
			int firstResult, int maxResults); @Override void saveOrganizationalProvider(
			OrganizationalProvider organizationalProvider); @Override OrganizationalProvider updateOrganizationalProvider(
			OrganizationalProvider organizationalProvider); @Override void updateOrganizationalProvider(
			OrganizationalProviderDto organizationalProviderDto); @Override OrganizationalProvider addNewOrganizationalProvider(
			OrganizationalProviderDto organizationalProviderDto); OrganizationalProvider findOrganizationalProviderByNpi(String npi);  }
@Test public void testUpdateOrganizationalProviderOrganizationalProvider() { organizationalProviderService .updateOrganizationalProvider(mock(OrganizationalProvider.class)); verify(organizationalProviderRepository).save( any(OrganizationalProvider.class)); }
@Test public void testUpdateOrganizationalProviderOrganizationalProviderDto() { organizationalProviderService .updateOrganizationalProvider(mock(OrganizationalProviderDto.class)); verify(patientRepository).save(any(Patient.class)); }