Esempio n. 1
0
        internal void ShouldHaveSelfLink(string endingWith, params KeyValuePair <string, string>[] parameters)
        {
            _page.SelfLink()
            .ShouldBeGet()
            .ShouldHaveUrl(endingWith);

            foreach (var param in parameters)
            {
                _page.SelfLink().ShouldHaveQueryParameter <string>(param.Key, param.Value);
            }
        }