Esempio n. 1
0
 public void CanClockwiseUnexecute(RotateFaceClockwiseCommand rotateFaceClockwiseCommand, CubeFace targetFace, Mock <Cube> cubeMock)
 {
     rotateFaceClockwiseCommand.Unexecute();
     cubeMock.Verify(call => call.RotateCounterClockwise(targetFace));
 }
Esempio n. 2
0
 public void CanUnexecuteClockwiseRotation()
 {
     rotateFaceClockwiseCommand.Unexecute();
     cubeMock.Verify(call => call.RotateCounterClockwise(cubeMock.Object.FrontFace));
 }