Exemple #1
0
        public void ReturnGameThatExistsAndIsLent()
        {
            var login = new LoginBuilder().BuildWithGameAndFriend();

            login.LendGame(_validGameId, _validFriendId);

            Assert.True(login.ReturnGame(_validGameId));
        }
Exemple #2
0
        public void LendGameToExistentGameAndExistentFriend()
        {
            var login = new LoginBuilder().BuildWithGameAndFriend();

            Assert.True(login.LendGame(_validGameId, _validFriendId));
        }
Exemple #3
0
        public void LendGameToNonexistentFriend()
        {
            var login = new LoginBuilder().BuildWithGameAndFriend();

            Assert.False(login.LendGame(_validGameId, _invalidFriendId));
        }
Exemple #4
0
        public void LendGameThatNotExists()
        {
            var login = new LoginBuilder().BuildWithGameAndFriend();

            Assert.False(login.LendGame(_invalidGameId, _invalidFriendId));
        }