public void apply_policies_logs_policy() { _activator.ApplyPolicies(_packageLog); _packageLog.AssertWasCalled(x => x.Trace("Applying policy [{0}].", _policies[0].ToString())); }
public void should_log_failures_for_both_of_the_failing_jobs() { theLog.AssertWasCalled(x => x.MarkFailure(ex1)); theLog.AssertWasCalled(x => x.MarkFailure(ex2)); }