public Task <ResolvedRelativeUrlResult> MapAsync(Type type, MethodInfo method)
        {
            type.ThrowIfNull("type");
            method.ThrowIfNull("method");

            ResolvedRelativeUrlAttribute attribute = method.GetCustomAttributes(typeof(ResolvedRelativeUrlAttribute), false).Cast <ResolvedRelativeUrlAttribute>().SingleOrDefault();

            return((attribute != null
                                        ? ResolvedRelativeUrlResult.ResolvedRelativeUrlMapped(attribute.ResolvedRelativeUrl)
                                        : ResolvedRelativeUrlResult.ResolvedRelativeUrlNotMapped()).AsCompletedTask());
        }
 public void SetUp()
 {
     _attribute = new ResolvedRelativeUrlAttribute("relative");
 }