Unapply() public method

public Unapply ( Hangfire.States.ApplyStateContext context, IWriteOnlyTransaction transaction ) : void
context Hangfire.States.ApplyStateContext
transaction IWriteOnlyTransaction
return void
        public void Unapply_ShouldRemoveTheJob_FromTheScheduledSet()
        {
            var handler = new ScheduledState.Handler();
            handler.Unapply(_context.Object, _transaction.Object);

            _transaction.Verify(x => x.RemoveFromSet("schedule", JobId));
        }