/// <summary> /// Expects a file or folder to 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 ITo <string> to, string customMessage) { return(to.Exist(() => customMessage)); }
/// <summary> /// Expects a file or folder to exist at the provided path /// </summary> /// <param name="to"></param> /// <returns></returns> public static IStringMore Exist( this ITo <string> to ) { return(to.Exist(NULL_STRING)); }