@Test public void doesNotSupportOtherRecordTypes() throws ComponentLookupException { Assert.assertFalse(this.mocker.getComponentUnderTest().supportsRecordType("patient")); Assert.assertFalse(this.mocker.getComponentUnderTest().supportsRecordType("asdfasdf")); }
@Override public boolean supportsRecordType(final String recordType) { return "family".equals(recordType); }
GlobalFamilyConfigurationModule implements RecordConfigurationModule { @Override public boolean supportsRecordType(final String recordType) { return "family".equals(recordType); } }
GlobalFamilyConfigurationModule implements RecordConfigurationModule { @Override public boolean supportsRecordType(final String recordType) { return "family".equals(recordType); }  }
GlobalFamilyConfigurationModule implements RecordConfigurationModule { @Override public boolean supportsRecordType(final String recordType) { return "family".equals(recordType); }  @Override RecordConfiguration process(@Nullable final RecordConfiguration config); @Override int getPriority(); @Override boolean supportsRecordType(final String recordType); }
GlobalFamilyConfigurationModule implements RecordConfigurationModule { @Override public boolean supportsRecordType(final String recordType) { return "family".equals(recordType); }  @Override RecordConfiguration process(@Nullable final RecordConfiguration config); @Override int getPriority(); @Override boolean supportsRecordType(final String recordType);  }