@Test public void testIsOk() { init(false, false); AllComponentsImplementedChecker check = new AllComponentsImplementedChecker(architectureGraph, packageArchitecture); assertThat(check.isOk(), is(true)); assertThat(check.getViolationMessages(), hasSize(0)); assertThat(check.getViolationMessage(), nullValue()); }
@Override public String getViolationMessage() { return getViolationMessages().isEmpty() ? null : (getViolationMessages().size() + " components without corresponding classes: " + getViolationMessages()); }
AllComponentsImplementedChecker extends Checker { @Override public String getViolationMessage() { return getViolationMessages().isEmpty() ? null : (getViolationMessages().size() + " components without corresponding classes: " + getViolationMessages()); } }
AllComponentsImplementedChecker extends Checker { @Override public String getViolationMessage() { return getViolationMessages().isEmpty() ? null : (getViolationMessages().size() + " components without corresponding classes: " + getViolationMessages()); } AllComponentsImplementedChecker(DependencyGraph dependencyGraph, Architecture architecture); }
AllComponentsImplementedChecker extends Checker { @Override public String getViolationMessage() { return getViolationMessages().isEmpty() ? null : (getViolationMessages().size() + " components without corresponding classes: " + getViolationMessages()); } AllComponentsImplementedChecker(DependencyGraph dependencyGraph, Architecture architecture); @Override String getViolationMessage(); }
AllComponentsImplementedChecker extends Checker { @Override public String getViolationMessage() { return getViolationMessages().isEmpty() ? null : (getViolationMessages().size() + " components without corresponding classes: " + getViolationMessages()); } AllComponentsImplementedChecker(DependencyGraph dependencyGraph, Architecture architecture); @Override String getViolationMessage();  }