public void TestBikeUnmarshallingDescription() { Gear.Bike bike = Unmarshaller <Gear.Bike> .Unmarshal(_json); Assert.IsTrue(bike.Description.Equals(String.Empty)); }
public void TestBikeUnmarshallingPrimary() { Gear.Bike bike = Unmarshaller <Gear.Bike> .Unmarshal(_json); Assert.IsTrue(bike.IsPrimary); }
public void TestBikeUnmarshallingFrameType() { Gear.Bike bike = Unmarshaller <Gear.Bike> .Unmarshal(_json); Assert.IsTrue(bike.FrameType == BikeType.Road); }
public void TestBikeUnmarshallingId() { Gear.Bike bike = Unmarshaller <Gear.Bike> .Unmarshal(_json); Assert.IsTrue(bike.Id.Equals("b814946")); }
public void TestBikeUnmarshallingModel() { Gear.Bike bike = Unmarshaller <Gear.Bike> .Unmarshal(_json); Assert.IsTrue(bike.Model.Equals("Roadlite AL 7.0")); }
public void TestBikeUnmarshallingBrand() { Gear.Bike bike = Unmarshaller <Gear.Bike> .Unmarshal(_json); Assert.IsTrue(bike.Brand.Equals("Canyon")); }
public void TestBikeUnmarshallingName() { Gear.Bike bike = Unmarshaller <Gear.Bike> .Unmarshal(_json); Assert.IsTrue(bike.Name.Equals("Canyon Roadlite AL 7.0")); }
public void TestBikeUnmarshalling() { Gear.Bike bike = Unmarshaller <Gear.Bike> .Unmarshal(_json); Assert.IsNotNull(bike); }