public Auditor(string name)
 {
     serviceActionInvokedCallback = TestAuditManager.UnexpectedServiceActionCallback(name);
     actionInvokedCallback        = TestAuditManager.UnexpectedActionCallback(name);
     objectPersistedCallback      = TestAuditManager.UnexpectedCallback(name);
     objectUpdatedCallback        = TestAuditManager.UnexpectedCallback(name);
 }
Exemple #2
0
 public static void SetCallbacksUnexpected()
 {
     Auditor.actionInvokedCallback        = TestAuditManager.UnexpectedActionCallback("default");
     Auditor.serviceActionInvokedCallback = TestAuditManager.UnexpectedServiceActionCallback("default");
     Auditor.objectUpdatedCallback        = TestAuditManager.UnexpectedCallback("default");
     Auditor.objectPersistedCallback      = TestAuditManager.UnexpectedCallback("default");
 }