KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > test > mockobjects > dynamic > CTest


1 /*
2  * Created on 30-Apr-03
3  */

4 package test.mockobjects.dynamic;
5
6 import com.mockobjects.dynamic.C;
7
8 import junit.framework.TestCase;
9
10
11 public class CTest extends TestCase {
12
13     public CTest(String JavaDoc name) {
14         super(name);
15     }
16     public void testEqObjectArray() {
17         assertTrue("Should be equals for object arrays", C.eq(new String JavaDoc[]{"a", "b"}).eval(new String JavaDoc[]{"a","b"}));
18     }
19 }
20
Popular Tags