public void TestGetAllRooms() { Room room1 = new Room(); Room room2 = new Room(); Room room3 = new Room(); System.Collections.Generic.List <Room> rooms = new System.Collections.Generic.List <Room> { room1, room2, room3 }; HouseManager manager = new HouseManager(rooms); System.Collections.Generic.List <Room> allRooms = manager.GetAllRooms(); Assert.IsInstanceOf <System.Collections.Generic.List <Room> >(allRooms); Assert.That(allRooms, Has.Count.EqualTo(3)); }