@Test public void testCheckWithMatchingRule() { init(false, false); DependencyChecker checker = new DependencyChecker(architectureGraph, packageArchitecture); assertThat(checker.isOk(), is(true)); assertThat(checker.getViolationMessages(), hasSize(0)); assertThat(checker.getViolationMessage(), nullValue()); }
@Override public String getViolationMessage() { return getViolationMessages().isEmpty() ? null : (getViolationMessages().size() + " uncovered dependencies: " + getViolationMessages()); }
DependencyChecker extends Checker { @Override public String getViolationMessage() { return getViolationMessages().isEmpty() ? null : (getViolationMessages().size() + " uncovered dependencies: " + getViolationMessages()); } }
DependencyChecker extends Checker { @Override public String getViolationMessage() { return getViolationMessages().isEmpty() ? null : (getViolationMessages().size() + " uncovered dependencies: " + getViolationMessages()); } DependencyChecker(DependencyGraph dependencyGraph, Architecture architecture); }
DependencyChecker extends Checker { @Override public String getViolationMessage() { return getViolationMessages().isEmpty() ? null : (getViolationMessages().size() + " uncovered dependencies: " + getViolationMessages()); } DependencyChecker(DependencyGraph dependencyGraph, Architecture architecture); @Override String getViolationMessage(); }
DependencyChecker extends Checker { @Override public String getViolationMessage() { return getViolationMessages().isEmpty() ? null : (getViolationMessages().size() + " uncovered dependencies: " + getViolationMessages()); } DependencyChecker(DependencyGraph dependencyGraph, Architecture architecture); @Override String getViolationMessage();  }