package state_pattern_tests; import org.junit.Test; import static org.junit.Assert.*; import seabedexplorer.submersible.ROV; import seabedexplorer.submersible.equipment.locationtracking.Location; public class StateTransitionTest { @Test public void StateTransitionTest() { ROV rov = new ROV(); rov.move(new Location(5, 5, 5)); assertEquals(rov.getStateName(), "Idle"); } }