@Test
public void testCheckWithoutMatchingRule() {

    init(true, false);
    DependencyChecker checker = new DependencyChecker(architectureGraph, packageArchitecture);
    assertThat(checker.isOk(), is(false));
    assertThat(checker.getViolationMessages(), hasSize(1));
    assertThat(checker.getViolationMessages().get(0), is("com.my.a.b --[READ_ONLY]--> org.other"));
    assertThat(checker.getViolationMessage(), is("1 uncovered dependencies: [com.my.a.b --[READ_ONLY]--> org.other]"));
}