@SuppressWarnings("deprecation") @Test public void getActiveConfigurationReturnsPatientRecordConfiguration() throws Exception { this.moduleList = Collections.singletonList(this.moduleOne); doReturn(this.moduleList).when(this.modules).get(); when(this.moduleOne.process(any(RecordConfiguration.class))).thenReturn(this.config); Assert.assertSame(this.config, this.mocker.getComponentUnderTest().getActiveConfiguration()); }
@Override public RecordConfiguration getActiveConfiguration() { return getConfiguration(PATIENT_RECORD_LABEL); }
DefaultRecordConfigurationManager implements RecordConfigurationManager { @Override public RecordConfiguration getActiveConfiguration() { return getConfiguration(PATIENT_RECORD_LABEL); } }
DefaultRecordConfigurationManager implements RecordConfigurationManager { @Override public RecordConfiguration getActiveConfiguration() { return getConfiguration(PATIENT_RECORD_LABEL); }  }
DefaultRecordConfigurationManager implements RecordConfigurationManager { @Override public RecordConfiguration getActiveConfiguration() { return getConfiguration(PATIENT_RECORD_LABEL); }  @Override RecordConfiguration getConfiguration(String recordType); @Override RecordConfiguration getActiveConfiguration(); }
DefaultRecordConfigurationManager implements RecordConfigurationManager { @Override public RecordConfiguration getActiveConfiguration() { return getConfiguration(PATIENT_RECORD_LABEL); }  @Override RecordConfiguration getConfiguration(String recordType); @Override RecordConfiguration getActiveConfiguration();  }