### Question:
RtcDefectAdapter implements DefectAdapter { @Override public String getCode() { return "rtc"; } @Autowired  RtcDefectAdapter(SettingService settingService,
                            RestTemplateBuilder restTemplateBuilder,
                            RtcDateTimeAdapter rtcDateTimeAdapter,
                            SettingProviderService settingProviderService); @Override List<Defect> getStatuses(long projectId, List<String> ids); @Override List<Defect> getChangedDefects(long projectId, Date since); @Override boolean isValidId(long projectId, String id); @Override String getIdFormatHint(long projectId); @Override String getCode(); @Override String getName(); @Override List<SettingDTO> getSettingDefinitions();  }### Answer:
@Test public void getCode_should_return_rtc() { assertThat(cut.getCode()).isEqualTo("rtc"); }