public void TestAddAndReducehotel() { Residential r = new Residential(); Player p = new Player("Tom", 1000); r.setOwner(ref p); r.addHotel(); Assert.AreEqual(1, r.getHotelCount()); r.reduceHotel(); Assert.AreEqual(0, r.getHotelCount()); }