Beispiel #1
0
        public void Call_The_Web_Client_With_The_Generated_Moz_Url_For_Domain_Authority()
        {
            var url = Target.BuildUrl("asdf");

            Target.GetMozStats("asdf");

            Client.Assert(cl => cl.GetRawResultOfBasicGetRequest(url), Occurs.Once());
        }
        public void Invoke_The_Web_Client_Twice_When_2_Serps_Are_Requested()
        {
            Target.SearchFor(SearchString, 2);

            Client.Assert(cl => cl.GetRawResultOfBasicGetRequest(Arg.AnyString), Occurs.Exactly(2));
        }