MutableComponentModel model = new MutableComponentModelImpl(CLASS_NAME, logger, r, null, false, null);
MutableEmbeddedComponentModel fred = model.addEmbeddedComponent("fred", "Fred", COMPONENT_CLASS_NAME, false,
null);
fred.addMixin("zip.zop.Zoom", "before:*", "after:foo.bar.Baz");
fred.addMixin("foo.bar.Baz");
assertEquals(fred.getConstraintsForMixin("zip.zop.Zoom"), new String[]{"before:*", "after:foo.bar.Baz"});
assertEquals(fred.getConstraintsForMixin("foo.bar.Baz"), new String[0]);