public void BreakTheFurnitureSofaBedTest() { SofaBed ff = new SofaBed(f3.Name, f3.Material, f3.Color); f3.BreakTheFurniture(); Assert.AreNotEqual(f3, ff); }
public void Initialising() { //_moq1 = new Mock<HomeFurniture>(); //_moq2 = new Mock<SleepFurniture>(); //_moq3 = new Mock<SofaBed>(); //_moq4 = new Mock<Sofa>(); //_moq5 = new Mock<Bed>(); f = new Furniture("Sofa", "Wood"); f1 = new HomeFurniture("Chair", "Metal", "Red"); f2 = new SleepFurniture("Chair", "Metal", "Red"); f3 = new SofaBed("Sofa", "Wood", "Red"); f4 = new Sofa("Chair", "Plastic", "Red"); f5 = new Bed("Chair", "Metal", "Red"); }