Ejemplo n.º 1
0
        public void Test_AddShow_AddsAShowWithBandAndVenue()
        {
            //Arrange
              Band testBand = new Band("Ween");
              testBand.Save();
              Venue testVenue = new Venue("Chad's");
              testVenue.Save();

              //Act
              testVenue.AddShow(testBand.GetId(), testDate);
              List<Venue> expectedVenue = new List<Venue> {testVenue};
              List<Venue> result= testBand.GetVenues();

              //Assert
              Assert.Equal(expectedVenue, result);
        }