コード例 #1
0
        public void TestInitialize()
        {
            this.baggageView      = TestObjectFactoryViews.GetBaggageManagementView();
            this.baggageServices  = TestObjectFactoryServices.GetBaggageServices();
            this.bookingsServices = TestObjectFactoryServices.GetBookingsServices();

            this.presenter = new BaggageManagementPresenter(
                this.baggageView.Object,
                this.baggageServices.Object,
                this.bookingsServices.Object);
        }
コード例 #2
0
 public void ConstructorShouldThrowExceptionWhenBookingsServicesIsNull()
 {
     var presenter = new BaggageManagementPresenter(this.baggageView.Object, this.baggageServices.Object, null);
 }