public void testMerge() {
UndefineArgument[] base = new UndefineArgument[2];
UndefineArgument[] specific = new UndefineArgument[2];
base[0] = new DefineArgument();
base[0].setName("foo");
base[1] = new UndefineArgument();
base[1].setName("hello");
specific[0] = new DefineArgument();
specific[0].setName("hello");
specific[1] = new UndefineArgument();
specific[1].setName("world");
UndefineArgument[] merged = UndefineArgument.merge(base, specific);
assertEquals(3, merged.length);
assertEquals("foo", merged[0].getName());
assertEquals(true, merged[0].isDefine());