public override async Task TheTest()
        {
            await base.TheTest();

            var link = Events.Links
                       .WithRelationOf(new Iri("http://example.com/vocab#filter"))
                       .WithTemplate()
                       .First()
                       .ExpandTarget(_ => _
                                     .WithProperty(new Iri("http://schema.org/name")).HavingValueOf("name")
                                     .WithVariable("eventDescription").HavingValueOf("description"));

            FilteringResult = await Client.GetResource(link);
        }
        public override async Task TheTest()
        {
            await base.TheTest();

            var link = Events.Links
                       .WithRelationOf(hydra.search)
                       .WithTemplate()
                       .First()
                       .ExpandTarget(new Dictionary <string, string>()
            {
                { "searchText", "whatever" }
            });

            SearchedResults = await Client.GetResource(link);
        }
 public override async Task TheTest()
 {
     Result = await Client.GetResource(ResourceUrl);
 }
Exemple #4
0
 public async Task TheTest()
 {
     Result = await ApiDocumentation.GetEntryPoint();
 }
 public override async Task TheTest()
 {
     Resource = await Client.GetResource(new Uri(Url, "resource"));
 }
Exemple #6
0
        public override async Task TheTest()
        {
            await base.TheTest();

            Events = await Client.GetResource(new Uri(Url, "api/events"));
        }
        public override async Task TheTest()
        {
            await base.TheTest();

            People = await Client.GetResource(new Uri(Url, "api/people"));
        }
Exemple #8
0
        public override async Task TheTest()
        {
            await base.TheTest();

            EntryPoint = await ApiDocumentation.GetEntryPoint();
        }
Exemple #9
0
 public virtual async Task TheTest()
 {
     Result = await HypermediaProcessor.Process(Response.Object, Client.Object);
 }