matcher.setExactMatching(false);
assertTrue(matcher.match(e1, e2));
assertFalse(matcher.match(e1, e3));
assertTrue(matcher.match(e1, e4));
assertFalse(matcher.match(e1, e5));
assertFalse(matcher.match(e4, e5));
matcher.setTypeMatching(true);
matcher.setExactMatching(false);
assertTrue(matcher.match(e1, e2));
assertFalse(matcher.match(e1, e3));