new DefaultRequiredInterface("a", new Class[]{ String.class, Integer.class})));
}
-
- public void testCopy() {
- DefaultRequiredInterface required = new DefaultRequiredInterface("a", new Class[]{ String.class, Integer.class}, true);
- RequiredInterface copy = required.copy();
- assertTrue(copy instanceof DefaultRequiredInterface);
- assertEquals(required.getName(), copy.getName());
- assertEquals(required.isOptional(), copy.isOptional());
- assertEquals(required.toString(), copy.toString());
- }
+
}