SchemaProcessor processor = (SchemaProcessor) control.getMock();
processor.getDefiningModule();
control.setReturnValue(module);
processor.push(new Bean());
control.setMatcher(new AggregateArgumentsMatcher(new ArgumentMatcher()
{
public boolean compareArguments(Object expected, Object actual)
{
Bean b = (Bean) actual;
assertEquals("HiveMind", b.getValue());
assertSame(l, b.getLocation());
return true;
}
}));