KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hanseltest > CoverSimple


1 package org.hanseltest;
2
3
4 /**
5  * Simple code to be covered bythe testcases.
6  * @author Niklas Mehner
7  */

8 public class CoverSimple {
9   
10     /**
11      * Simple method to test covering a simple method.
12      * @return 5
13      */

14     public int coverSimple() {
15         return 5;
16     }
17 }
18
Popular Tags