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