Beispiel #1
0
 public void CanClockwiseExecute(RotateFaceClockwiseCommand rotateFaceClockwiseCommand, CubeFace targetFace, Mock <Cube> cubeMock)
 {
     rotateFaceClockwiseCommand.Execute();
     cubeMock.Verify(call => call.RotateClockwise(targetFace));
 }
Beispiel #2
0
 public void CanExecuteClockwiseRotation()
 {
     rotateFaceClockwiseCommand.Execute();
     cubeMock.Verify(call => call.RotateClockwise(cubeMock.Object.FrontFace));
 }