return mocks.createControl(RuleReflectMethod.class, new Class[] { Rule.class, Object.class,
Method.class, Argument[].class }, new Object[] { null, null, null, null });
}
public void testGetRequiredTupleMembers() throws Exception {
Rule rule = new Rule("for-test.declaration-factory");
Argument[] parameterValues = new Argument[3];
MockControl controlObjectType_1 = mocks.createControl(ObjectType.class);
MockControl controlObjectType_2 = mocks.createControl(ObjectType.class);
Declaration expectedDeclaration_1 = rule.addParameterDeclaration(
"id-1", (ObjectType) controlObjectType_1.getMock());
Declaration expectedDeclaration_2 = rule.addParameterDeclaration(
"id-2", (ObjectType) controlObjectType_2.getMock());
parameterValues[0] = new ApplicationDataArgument("name", Object.class);
parameterValues[1] = new FactArgument(expectedDeclaration_1);
parameterValues[2] = new FactArgument(expectedDeclaration_2);