public void AddRoom_ShouldWork() { // Arrange int expected = TestDB.GetRoomsTable().Count + 1; // Act bool validCall = container.AddRoom(room); int result = container.Rooms.Count; // Assert Assert.Equal(expected, result); Assert.True(validCall); }
public void AddRoom_ShouldWork() { // Arrange int expected = 1; // Act container.AddRoom(room); int result = container.Rooms.Count; // Assert Assert.Equal(expected, result); Assert.Equal(room, container.Rooms[0]); }