public void Verify_Deactivate_Should_SetTheActivePropertyToFalseOnTheEntity()
 {
     // Arrange
     Mock<IDbSet<Object>> mockSetObjects;
     var mockContext = ObjectsMockingSetup.DoMockingSetupForContext(true, out mockSetObjects);
     var repository = new ObjectsRepository(mockContext.Object);
     var objects = repository.Get(1);
     // Act
     repository.Deactivate(objects);
     // Assert
     Assert.Equal(false, objects.Active);
 }
        public void Verify_Deactivate_Should_SetTheActivePropertyToFalseOnTheEntity()
        {
            // Arrange
            Mock <IDbSet <Object> > mockSetObjects;
            var mockContext = ObjectsMockingSetup.DoMockingSetupForContext(true, out mockSetObjects);
            var repository  = new ObjectsRepository(mockContext.Object);
            var objects     = repository.Get(1);

            // Act
            repository.Deactivate(objects);
            // Assert
            Assert.Equal(false, objects.Active);
        }