" <factory class='test.SomeMatcher'/>" +
" <factory class='test.AnotherMatcher'/>" +
"</matchers>"));
final List<FactoryMethod> result = sugarConfiguration.factoryMethods();
assertTrue(result.contains(new FactoryMethod("test.SomeMatcher", "matcher1", "org.hamcrest.Matcher")));
assertTrue(result.contains(new FactoryMethod("test.SomeMatcher", "matcher2", "org.hamcrest.Matcher")));
assertTrue(result.contains(new FactoryMethod("test.AnotherMatcher", "matcher3", "org.hamcrest.MyMatcher")));
}