Navigation Menu

Skip to content

Commit

Permalink
split out test
Browse files Browse the repository at this point in the history
  • Loading branch information
Will Munn committed Sep 24, 2012
1 parent 12662eb commit bbc7f9f
Showing 1 changed file with 8 additions and 1 deletion.
Expand Up @@ -33,12 +33,19 @@ public void ShouldHaveBMW()
Assert.That(car.Color.Rgb, Is.Null);

Assert.That(car.Color.Description.Text, Is.EqualTo("This is the text"));
Assert.That(car.Color.Description.DescriptionType, Is.EqualTo("thisIsTheType"));

Assert.That(car.Manufacturer.NameType, Is.EqualTo("MajorType"));

Assert.That((string)car.Manufacturer, Is.EqualTo("BMW UK"));
}

[Test]
public void The_bmw_should_have_the_expected_description_Type()
{
Car car = _vehicles.Cars.Single(c => c.Brand == "BMW");
Assert.That(car.Color.Description.DescriptionType, Is.EqualTo("thisIsTheType"));
}

[Test]
public void ShouldHaveHonda()
{
Expand Down

0 comments on commit bbc7f9f

Please sign in to comment.