@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());
}