Class LaneTest.MockLaneBasedObject
- java.lang.Object
 - 
- org.opentrafficsim.road.network.lane.LaneTest.MockLaneBasedObject
 
 
- 
- 
Constructor Summary
Constructors Constructor Description MockLaneBasedObject(String id, Length position)Construct a new Mocked SingleSensor. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LengthgetLongitudinalPosition()Retrieve the position of the mocked sensor.LaneBasedObjectgetMock()Retrieve the mocked LaneBasedObject.StringtoString() 
 - 
 
- 
- 
Method Detail
- 
getMock
public LaneBasedObject getMock()
Retrieve the mocked LaneBasedObject.- Returns:
 - LaneBasedObject; the mocked LaneBasedObject
 
 
- 
getLongitudinalPosition
public Length getLongitudinalPosition()
Retrieve the position of the mocked sensor.- Returns:
 - Length; the longitudinal position of the mocked sensor
 
 
 - 
 
 -