Skip to content

Instantly share code, notes, and snippets.

@Damovisa
Last active Apr 29, 2017
Embed
What would you like to do?
We don't need no stinkin' tests (yes, this is a joke)
namespace Microsoft.VisualStudio.TestTools.UnitTesting
{
public static class Asser
{
public static void AreEqual(Object expected, Object actual, params object[] parameters) { }
public static void AreEqual<T>(T expected, T actual, params object[] parameters) { }
public static void AreNotEqual(Object expected, Object actual, params object[] parameters) { }
public static void AreNotEqual<T>(T expected, T actual, params object[] parameters) { }
public static void AreSame(Object expected, Object actual, params object[] parameters) { }
public static void AreSame<T>(T expected, T actual, params object[] parameters) { }
public static void AreNotSame(Object expected, Object actual, params object[] parameters) { }
public static void AreNotSame<T>(T expected, T actual, params object[] parameters) { }
public static void Fail(params object[] parameters) { }
public static void Inconclusive(params object[] parameters) { }
public static void IsTrue(bool condition, params object[] parameters) { }
public static void IsFalse(bool condition, params object[] parameters) { }
public static void IsInstanceOfType(object value, Type expectedType, params object[] parameters) { }
public static void IsNotInstanceOfType(object value, Type expectedType, params object[] parameters) { }
public static void IsNull(object value, params object[] parameters) { }
public static void IsNotNull(object value, params object[] parameters) { }
public static string ReplaceNullChars(string input)
{
return Assert.ReplaceNullChars(input);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment