Ejemplo n.º 1
0
        public void SuggestPageShortNames_SuppliedDesiredName_ReturnsSuggestions(WireDataFormat format)
        {
            var client = TestContext.CreateClientValidCredentials(format);
            var pageClient = new PageApi(client.HttpChannel);
            const string desiredName = "david";

            var suggestion = pageClient.SuggestPageShortNames(desiredName);

            Assert.That(suggestion.Names.Length, Is.GreaterThan(0));
        }