public PublishConfirmationListenerTest() { eventBus = new EventBus(); model = Substitute.For <IModel>(); publishConfirmationListener = new PublishConfirmationListener(eventBus); }
public void SetUp() { eventBus = new EventBus(); model = MockRepository.GenerateStrictMock <IModel>(); publishConfirmationListener = new PublishConfirmationListener(eventBus); }