public void Should_BeAbleTo_GetId()
        {
            var bike    = new Bike();
            var bikelog = new BikeLogItem();

            var id = bike.id;

            bikelog.GetBikeId(bike);

            Assert.That(bikelog.id, Is.EqualTo(id));
        }
Пример #2
0
 public DockingStation(int capacity)
 {
     BikeStore   = new Bike[capacity];
     BikeLogItem = new BikeLogItem();
 }