Ejemplo n.º 1
0
        public void TestThatCarHasCorrectBasePriceForTenDays_ObjectMotherStyle()
        {
            var target = ObjectMother.BMW(); //Car(21)

            Assert.AreEqual(168, target.getBasePrice());
        }
Ejemplo n.º 2
0
        public void TestObjectMother()
        {
            var target = ObjectMother.BMW();

            Assert.AreEqual(target.Name, "BMW M5 Sports Car");
        }
Ejemplo n.º 3
0
        public void TestThatCarHasCorrectBasePriceForTenDays()
        {
            var target = ObjectMother.BMW();

            Assert.AreEqual(80, target.getBasePrice());
        }