public void Setup() { buildingWithoutCard = BuildingUTests.CreateTestBuilding(); building1 = CreateTestBuildingWithCard(); building2 = CreateTestBuildingWithCard(); cardBuilding = CardBuildingUTests.CreateTestCardBuilding(); }
// Create test unit with card public static Building CreateTestBuildingWithCard() { CardBuilding cardBuilding = CardBuildingUTests.CreateTestCardBuilding(); Building building = BuildingUTests.CreateTestBuilding(); building.SetCard(cardBuilding); return(building); }