private MockControl controlRule = mocks.createControl(Rule.class, new Class[]{String.class}, new Object[]{"for-test"});
private Rule mockRule = (Rule) controlRule.getMock();
public void testNewWithNullIdentifier() {
try {
new ApplicationDataArgumentMetadata(null, String.class);
fail("expected IllegalArgumentException");
} catch (IllegalArgumentException e) {
// expected
}
}