/// <summary> /// Expects a file or folder to not exist at the provided path /// </summary> /// <param name="to"></param> /// <param name="customMessage">Custom message to add to failure messages</param> /// <returns></returns> public static IStringMore Exist( this IStringNotAfterTo to, string customMessage) { return(to.Exist(() => customMessage)); }
/// <summary> /// Expects a file or folder to not exist at the provided path /// </summary> /// <param name="to"></param> /// <returns></returns> public static IStringMore Exist( this IStringNotAfterTo to) { return(to.Exist(NULL_STRING)); }