@Test
public void testWhenNotMatching() {
SingletonModuleRegistry mr = new SingletonModuleRegistry(processor, "foo");
assertThat(mr.findDefinition("bar", processor), not(module("foo", processor)));
assertThat(mr.findDefinitions("foo"), not(contains(module("foo", source))));
assertThat(mr.findDefinitions(sink), not(contains(module("foo", processor))));
assertThat(mr.findDefinitions(), not(contains(module("bar", processor))));
}