From: erik Date: Tue, 13 May 2008 22:28:36 +0000 (+0000) Subject: Incomplete - task 1: Enabling instantiated components as objects. X-Git-Tag: wamblee-utils-0.2~1^2~140 X-Git-Url: http://wamblee.org/gitweb/?a=commitdiff_plain;h=c328d67a1d6182b827d8eddba246a6bd606efb22;p=utils Incomplete - task 1: Enabling instantiated components as objects. --- diff --git a/system/general/src/test/java/org/wamblee/system/core/DefaultRequiredInterfaceTest.java b/system/general/src/test/java/org/wamblee/system/core/DefaultRequiredInterfaceTest.java index 972897cc..3fe55080 100644 --- a/system/general/src/test/java/org/wamblee/system/core/DefaultRequiredInterfaceTest.java +++ b/system/general/src/test/java/org/wamblee/system/core/DefaultRequiredInterfaceTest.java @@ -38,13 +38,5 @@ public class DefaultRequiredInterfaceTest extends TestCase { 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()); - } + }