public void Apply_ShouldAddTheJob_ToTheProcessingSet() { var handler = new ProcessingStateHandler(); handler.Apply(_context, _transaction.Object); _transaction.Verify(x => x.AddToSet( "processing", JobId, It.IsAny<double>())); }