public void onExecute()
 {
     _footwearInstruction.Execute();
     _weatherMock.Received().PutOnFootwear();
     _stateManager.Received().CurrentState = Dress.FootwearOn;
 }
 public void onExecute()
 {
     _pajamasInstruction.Execute();
     _weatherMock.Received().TakeOffPajamas();
     _stateManager.Received().CurrentState = Dress.Pajamas_Off;
 }
 public void onExecute()
 {
     _leaveHouseInstruction.Execute();
     _weatherMock.Received().LeaveHouse();
     _stateManager.Received().CurrentState = Dress.LeaveHouse;
 }
Example #4
0
 public void onExecute()
 {
     _pantsInstruction.Execute();
     _weatherMock.Received().PutOnPants();
     _stateManager.Received().CurrentState = Dress.PantsOn;
 }
Example #5
0
 public void onExecute()
 {
     _shirtInstruction.Execute();
     _weatherMock.Received().PutOnShirt();
     _stateManager.Received().CurrentState = Dress.ShirtOn;
 }
Example #6
0
 public void onExecute()
 {
     _jacketInstruction.Execute();
     _stateManager.Received().CurrentState = Dress.JacketOn;
     _weatherMock.Received().PutOnJacket();
 }