Index: trunk/test/tmcsim/highwaymodel/StationTest.java
===================================================================
--- trunk/test/atmsdriver/model/StationTest.java	(revision 343)
+++ trunk/test/tmcsim/highwaymodel/StationTest.java	(revision 422)
@@ -1,6 +1,8 @@
 
-package atmsdriver.model;
+package tmcsim.highwaymodel;
 
-import atmsdriver.model.Station.DIRECTION;
+import tmcsim.highwaymodel.LoopDetector;
+import tmcsim.highwaymodel.Station;
+import tmcsim.highwaymodel.Station.DIRECTION;
 import java.util.ArrayList;
 import junit.framework.TestCase;
@@ -81,6 +83,20 @@
     }
     /**
-     * TODO: Test of toXML method, of class Station.
+     * Test get Color and LoopDetector accessors
      */
-    
+    public void testGetColor()
+    {
+        LoopDetector lane = new LoopDetector(999,"locid","loc");
+        ArrayList<LoopDetector> lanes = new ArrayList<LoopDetector>();
+        lanes.add(lane);
+        Station alpha = new Station(1,2,3,"A",lanes, 4, DIRECTION.NORTH, 2.0);
+        assertEquals('-',alpha.getColor().symbol());
+        assertEquals("lime",alpha.getColor().htmlColor());
+        lane.setAttributes(LoopDetector.DOTCOLOR.YELLOW);
+        assertEquals('+',alpha.getColor().symbol());
+        assertEquals("yellow",alpha.getColor().htmlColor());
+        lane.setAttributes(LoopDetector.DOTCOLOR.RED);
+        assertEquals('@',alpha.getColor().symbol());
+        assertEquals("red",alpha.getColor().htmlColor());
+    }
 }
