KickJava   Java API By Example, From Geeks To Geeks.

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


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

4 package test.mockobjects.dynamic;
5
6 import junit.framework.Assert;
7 import junit.textui.TestRunner;
8
9
10 public class ErrorMessageExamples {
11
12     public static void main(String JavaDoc[] args) {
13         TestRunner.main(new String JavaDoc[] { ErrorMessageExamples.class.getName() });
14         //TODO work out how to build up test methods to be run just by this app
15
}
16     
17     public void testUncalledMethodError() {
18         Assert.assertEquals("should not be equa1", "a", "b");
19     }
20 }
21
Popular Tags