public void GetListingById_ReturnsADefaultListingIdOfValueZero_WhenCalledAndDatabaseIsEmpty()
        {
            // Arrange
            int expected = 0;
            int id       = 1;
            SqlServerListingRepository listingRepo = new SqlServerListingRepository(context);

            // Act
            int actual = listingRepo.GetListingById(id).Id;

            // Assert
            Assert.AreEqual(expected, actual);
        }
        public void GetListingById_ReturnsAListingIdOfValueOne_WhenCalledAndDatabaseHasOneListingOfIdOne()
        {
            // Arrange
            int expected = 1;
            int id       = 1;

            InsertData();
            SqlServerListingRepository listingRepo = new SqlServerListingRepository(context);

            // Act
            int actual = listingRepo.GetListingById(id).Id;

            // Assert
            Assert.AreEqual(expected, actual);
        }