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