public void GetUsers_CalledWithoutParameters_ReturnsActiveUsersOnly()
        {
            TP tp = new TP(new TPWebServiceClient());

            Users users = tp.GetUsers();

            Assert.That(users.Items, Has.All.Matches <User>(u => u.IsActive == true));
        }
        public void GetUsers_CalledWithParameterIncludeInActiveSetToTrue_ReturnsActiveAndInactiveUsers()
        {
            TP tp = new TP(new TPWebServiceClient());

            Users users = tp.GetUsers(true);

            Assert.That(users.Items, Has.Some.Matches <User>(u => u.IsActive == false));
        }
        public void GetUsers_CalledWithoutParameters_ReturnsMoreThanOneUser()
        {
            TP tp = new TP(new TPWebServiceClient());

            Users users = tp.GetUsers();

            Assert.Greater(users.Items.Count, 0);
        }