--- /dev/null
+package org.wamblee.system;
+
+import junit.framework.TestCase;
+
+public class DefaultRequiredInterfaceTest extends TestCase {
+
+ public void testEquals() {
+ assertEquals(
+ new DefaultRequiredInterface("a", String.class),
+ new DefaultRequiredInterface("a", String.class));
+ assertEquals(
+ new DefaultRequiredInterface("a", new Class[]{ String.class, Integer.class}),
+ new DefaultRequiredInterface("a", new Class[]{ String.class, Integer.class}));
+
+ assertFalse(
+ new DefaultRequiredInterface("a", String.class).equals(
+ new DefaultRequiredInterface("a", Integer.class)));
+ assertFalse(
+ new DefaultRequiredInterface("a", new Class[]{ String.class}).equals(
+ new DefaultRequiredInterface("a", new Class[]{ String.class, Integer.class})));
+
+ }
+}