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