/// <summary>
        /// Tests that when we delete an existing entity, the entity is tracked as 'Deleted' in the context
        /// </summary>
        public void DeleteSimpleEntity()
        {
            // Arrange
            const int expectedId = 10;

            FakeDbContext          dbContext        = new FakeDbContext();
            SimpleEntityRepository entityRepository = new SimpleEntityRepository(dbContext);

            // Act
            entityRepository.Delete(expectedId);

            // Assert
            Assert.IsNotNull(entityRepository.DbContext);
            Assert.AreEqual(1, entityRepository.DbContext.ChangeTracker.Entries().Count());
            Assert.AreEqual(EntityState.Deleted, entityRepository.DbContext.ChangeTracker.Entries().ToList()[0].State);
        }