Tests.SearchTests.UserSearchByUserAnonymousType C# (CSharp) Method

UserSearchByUserAnonymousType() private method

private UserSearchByUserAnonymousType ( ) : void
return void
        public void UserSearchByUserAnonymousType()
        {
            var res = api.Search.SearchFor<User>(Settings.AdminEmail);

            Assert.IsTrue(res != null);
            Assert.AreEqual(res.Results.Count, 1);
            Assert.AreEqual(res.Results[0].Id, Settings.UserId);
            Assert.IsTrue(res.Results[0] is User);
        }