package sample.java.project;

import junit.framework.TestCase;

/**
 * A sample JUnit test.
 *
 * This test exists as a placeholder for the test unit framework.
 */
public class SampleJavaProjectTest extends TestCase {

    /**
     * Holds an instance of the class we are testing.
     */
    private SampleJavaProject sjp;

    /**
     * JUnit set up method.
     */
    public final void setUp() {
        sjp = new SampleJavaProject();
    }

    /**
     * Tests the add() method in the main class.
     */
    public final void testAdd() {
        assertEquals(sjp.add(3, 4), 7);
        assertEquals(sjp.add(5, -5), 0);
        assertEquals(sjp.add(-3, 4), 1);
    }
}

@@ -34,32 +34,92 @@
 ort 
-junit.framework
+static org.junit.Assert.assertEquals;%0Aimport org.junit.Before;%0Aimport org.junit
 .Test
-Case
 ;%0A%0A/
@@ -257,25 +257,8 @@
 est 
-extends TestCase 
 %7B%0A%0A 
@@ -398,32 +398,44 @@
 method.%0A     */%0A
+    @Before%0A
     public final
@@ -553,24 +553,24 @@
  class.%0A
-
      */%0A
     publ
@@ -557,24 +557,34 @@
 ss.%0A     */%0A
+    @Test%0A
     public f

Update to JUnit4 tests.