public void TestIncorrectEndLease() { // end a lease when no lease exists. Assert.Throws <InvalidOperationException>(() => original.EndLease(null)); // end a lease with an incorrect bindable original.BeginLease(true); Assert.Throws <InvalidOperationException>(() => original.EndLease(original)); }