public void AnimateVertically_WhenYEqualsYRequest_DoesNothing() { //arrange SquareView squareView = new SquareView(); double startTopMargin = squareView.Margin.Top; SquareViewModel squareViewModel = new SquareViewModel(0, 0, 2); //act AnimationExtensions.AnimateVertically(squareView, squareViewModel); //assert Assert.That(squareView.Margin.Top == startTopMargin); }