public void Apply_ShouldAddTheJob_ToTheFailedSet() { var handler = new FailedStateHandler(); handler.Apply(_context.Object, _transaction); _transaction.Received().AddToSet("failed", JobId, Arg.Any<double>()); }
public void Apply_ShouldAddTheJob_ToTheFailedSet() { var handler = new FailedStateHandler(); handler.Apply(_context.Object, _transaction.Object); _transaction.Verify(x => x.AddToSet( "failed", JobId, It.IsAny<double>())); }
public void Apply_ShouldAddTheJob_ToTheFailedSet() { var handler = new FailedStateHandler(); handler.Apply(_context.Object, _transaction); _transaction.Received().AddToSet("failed", JobId, Arg.Any <double>()); }
public void Apply_ShouldAddTheJob_ToTheFailedSet() { var handler = new FailedStateHandler(); handler.Apply(_context.Object, _transaction.Object); _transaction.Verify(x => x.AddToSet( "failed", JobId, It.IsAny <double>())); }