package edu.brown.cs.systems.tracingplane.transit_layer.impl;

import org.junit.Test;
import edu.brown.cs.systems.tracingplane.transit_layer.Baggage;
import junit.framework.TestCase;

public class TestDefaultTransitLayer extends TestCase {

    @Test
    public void testNullTransitLayerImpl() {
        assertNotNull(Baggage.transit);
        assertTrue(Baggage.transit instanceof NullTransitLayer);

        Baggage baggage = Baggage.newInstance();
        assertNotNull(baggage);
        assertEquals(baggage, NullBaggage.INSTANCE);
    }

}

@@ -56,16 +56,150 @@
 .impl;%0A%0A
+import static org.junit.Assert.assertEquals;%0Aimport static org.junit.Assert.assertNotNull;%0Aimport static org.junit.Assert.assertTrue;%0A
 import o
@@ -280,41 +280,8 @@
 age;
-%0Aimport junit.framework.TestCase;
 %0A%0Apu
@@ -319,25 +319,8 @@
 yer 
-extends TestCase 
 %7B%0A%0A 

Convert transit-layer testcases to JUnit 4