Пример #1
0
        public void AddADoor_IsNotNullTest()
        {
            //Arrange
            Badge badgeOne = new Badge();

            //this is how you add a string to a list below line 69
            badgeOne.Id = 1;
            BadgeRepository repository = new BadgeRepository();

            repository.AddBadgesToTheList(badgeOne);

            //Act
            repository.AddADoor(1, "NewDoor");



            //Assert
            Assert.IsNotNull(badgeOne.Doors);
        }