public void TestListAllResourcePorts() { var target = new Player(); Assert.IsEmpty(target.listAllResourcePortsForThisPlayer()); target.addPort(new Port("Anything", 3)); Assert.IsEmpty(target.listAllResourcePortsForThisPlayer()); target.addPort(new Port("Ore", 2)); Assert.AreEqual(1, target.listAllResourcePortsForThisPlayer().Count); }