Assert public class Assert The Assert class contains a collection of static methods that implement the most common assertions used in NUnit. Documentation Code /* Exception of type 'System.OutOfMemoryException' was thrown. */