public void ReferenceEqualsFailsWhenUsed() { var ex = Assert.Throws <InvalidOperationException>(() => Assume.ReferenceEquals(string.Empty, string.Empty)); Assert.That(ex.Message, Does.StartWith("Assume.ReferenceEquals should not be used.")); }