public TestBaseArrangements()
 {
     Mocker              = new AutoMocker();
     Mediator            = Mocker.CreateInstance <Mediator>();
     DomainNotifications = Mocker.CreateInstance <DomainNotifications>();
     DomainNotificationsFacade.SetTestingEnvironment();
     DomainNotificationsFacade.SetNotificationsContainer(DomainNotifications);
 }
 public AddBookCommandTests()
 {
     DomainNotificationsFacade.SetTestingEnvironment();
 }
 public PersonTests()
 {
     DomainNotificationsFacade.SetTestingEnvironment();
 }
 public BookLoanTests()
 {
     DomainNotificationsFacade.SetTestingEnvironment();
 }
 public AuthorTests()
 {
     DomainNotificationsFacade.SetTestingEnvironment();
 }
示例#6
0
 public AddAuthorCommandTest()
 {
     DomainNotificationsFacade.SetTestingEnvironment();
 }
 public RequestLoanCommandTests()
 {
     DomainNotificationsFacade.SetTestingEnvironment();
 }