/// <summary> /// Tests if the cookie has the Age flag /// </summary> /// <param name="more"></param> /// <param name="expectedAge"></param> /// <returns></returns> public static IMore <Cookie> Age( this IMax <Cookie> more, int expectedAge ) { return(more.Age(expectedAge, NULL_STRING)); }
/// <summary> /// Tests if the cookie has the Age flag /// </summary> /// <param name="more"></param> /// <param name="expectedAge"></param> /// <param name="customMessage"></param> /// <returns></returns> public static IMore <Cookie> Age( this IMax <Cookie> more, int expectedAge, string customMessage ) { return(more.Age(expectedAge, () => customMessage)); }