KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > sourceforge > cruisecontrol > ProjectWrapperTest


1 /*
2  * Created on Nov 19, 2004
3  */

4 package net.sourceforge.cruisecontrol;
5
6 import junit.framework.TestCase;
7
8 /**
9  * @author Jeffrey Fredrick
10  */

11 public class ProjectWrapperTest extends TestCase {
12
13     public void testGetResult() {
14         MockProject project = new MockProject();
15         ProjectWrapper wrapper = new ProjectWrapper(project);
16
17         assertNull(wrapper.getResult());
18
19         wrapper.run();
20
21         assertNotNull(wrapper.getResult());
22     }
23 }
Popular Tags