public void MoveGameCardToAnotherPlayer_ShouldRemoveGameCardFromPlayerInventoryAndAddItToAnotherPlayerInventory() { //Arrange bool expectedPlayerOneCardOwnership = false; bool expectedPlayerTwoCardOwnership = true; PlayerViewModel testPlayerTwo = new PlayerViewModel(new PlayerModel() { CurrentPosition = 0, AmountHotels = 0, AmountHouses = 0, FirstThrow = 0, PlayerCash = 2000, PlayerID = 0, PlayerName = "Test", PrisonRoll = 3 }); testPlayer.PlayerAddGameCard(testGameCard); //Act testPlayer.MoveGameCardToAnotherPlayer(testPlayerTwo, testPlayer.OwnedStreets[testGameCard.OwnerArrayID]); //Assert Assert.Null(testPlayer.OwnedStreets[testGameCard.OwnerArrayID]); Assert.Equal(testGameCard, testPlayerTwo.OwnedStreets[testGameCard.OwnerArrayID]); Assert.Equal(expectedPlayerOneCardOwnership, testPlayer.OwnedStreetIDs[testGameCard.OwnerArrayID]); Assert.Equal(expectedPlayerTwoCardOwnership, testPlayerTwo.OwnedStreetIDs[testGameCard.OwnerArrayID]); }