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