Beispiel #1
0
 public void CanMoveFurniture()
 {
     HomeState stateHolder = new HomeState();
     DateTime date = new DateTime(2015, 01, 01);
     const string roomName = "bedroom";
     const string anotherRoom = "anotherRoom";
     const string furnitureName = "sofa";
     stateHolder.CreateFurniture(furnitureName, roomName, date);
     stateHolder.CreateRoom(anotherRoom, date);
     stateHolder.MoveFurniture(furnitureName, roomName, anotherRoom, date);
 }