private static void ThrowError(string message) { throw new Exception(string.Format("AssertionException: " + message)); }