import org.opentripplanner.routing.alertpatch.AlertPatch;
public class GraphTest {
@Test
public final void testAlertPatch() {
final AlertPatch alertPatches[][] = new AlertPatch[10][];
Graph graph = new Graph();
Vertex vertex0 = new SimpleConcreteVertex(graph, "Vertex 0", 0, 0);
Vertex vertex1 = new SimpleConcreteVertex(graph, "Vertex 1", 0, 180);
Edge edge0 = new SimpleConcreteEdge(vertex0, vertex1);
Edge edge1 = new SimpleConcreteEdge(vertex1, vertex0);
AlertPatch alertPatch0 = new AlertPatch();
AlertPatch alertPatch1 = new AlertPatch();
AlertPatch alertPatch2 = new AlertPatch();
AlertPatch alertPatch3 = new AlertPatch();
alertPatch0.setId("A");
alertPatch1.setId("A");
alertPatch2.setId("B");
alertPatch3.setId("C");
graph.addAlertPatch(null, null);
graph.addAlertPatch(null, alertPatch0);
graph.addAlertPatch(null, alertPatch3);
graph.addAlertPatch(edge0, null);