PatientCorrelationServiceSecuredFactory implements
        PatientCorrelationServiceFactory<RetrievePatientCorrelationsSecuredRequestType, RetrievePatientCorrelationsSecuredResponseType, AddPatientCorrelationSecuredRequestType, AddPatientCorrelationSecuredResponseType> { @Override public PatientCorrelationService<RetrievePatientCorrelationsSecuredRequestType, RetrievePatientCorrelationsSecuredResponseType, AddPatientCorrelationSecuredRequestType, AddPatientCorrelationSecuredResponseType> createPatientCorrelationService() { return new PatientCorrelationServiceSecuredServiceImpl(orchestration); } PatientCorrelationServiceSecuredFactory(PatientCorrelationOrch orchestration); @Override PatientCorrelationService<RetrievePatientCorrelationsSecuredRequestType, RetrievePatientCorrelationsSecuredResponseType, AddPatientCorrelationSecuredRequestType, AddPatientCorrelationSecuredResponseType> createPatientCorrelationService(); static PatientCorrelationServiceSecuredFactory getInstance();  }
@Test public void createPatientCorrelationService() { PatientCorrelationOrch orchestration = null; PatientCorrelationServiceSecuredFactory factoryUnderTest = new PatientCorrelationServiceSecuredFactory( orchestration); assertTrue(factoryUnderTest.createPatientCorrelationService() instanceof PatientCorrelationServiceSecuredServiceImpl); }