package tests; import classes.Testee; import org.junit.*; // Must be imported for annotations. import static org.junit.Assert.assertEquals; // Note import of static method. public class TestClass { Testee testee = new Testee(); int a = 10; int b = 20; @Test public void testMethod() { assertEquals("Problem with add.", a + b,testee.goodAdd(a,b)); assertEquals("Problem with badAdd.", a + b,testee.badAdd(a,b)); } }