public void TestThatTheCurrentPlayerCanTradeAtPort2Grain()
 {
     var tempTile = new Tile((int) TileType.Port2Grain);
     int portNumber = _board.PortTiles.IndexOf(tempTile);
     _controller.CurrentPlayer.ResourceHand = new List<CardType>(new[] {CardType.Wool, CardType.Wool});
     var cardTypeToTrade = (int) CardType.Wool;
     var cardTypeToGet = (int) CardType.Grain;
     bool result = _controller.TradeAtPort(portNumber, cardTypeToTrade, cardTypeToGet);
     Assert.IsTrue(result);
 }
 public void TestThatTheCurrentPlayerCanNotTradeAtAPortIfNoSettlement()
 {
     var tempTile = new Tile((int) TileType.Port3);
     int portNumber = _board.PortTiles.IndexOf(tempTile);
     _controller.CurrentPlayer.ResourceHand =
         new List<CardType>(new[] {CardType.Grain, CardType.Grain, CardType.Grain});
     var cardTypeToTrade = (int) CardType.Grain;
     var cardTypeToGet = (int) CardType.Brick;
     bool result = _controller.TradeAtPort(portNumber, cardTypeToTrade, cardTypeToGet);
     Assert.IsFalse(result);
 }