public void SetUpTest() { mocks = new MockRepository(); service = mocks.CreateMock <IShippingService>(); screen = mocks.CreateMock <IShippingScreen>(); presenter = new ShippingScreenPresenter(screen, service); }
public void SetUpTest() { shipment = new Shipment(); shipment.StateOrProvince = "Testville"; shipment.Vendor = "Test"; shipment.ShippingOption = "Carrier Pigeon"; mocks = new MockRepository(); service = mocks.CreateMock <IShippingService>(); screen = mocks.CreateMock <IShippingScreen>(); presenter = new ShippingScreenPresenter(screen, service, shipment); }
public void SetUpTest() { shipment = new Shipment(); shipment.StateOrProvince = "Testville"; shipment.Vendor = "Test"; shipment.ShippingOption = "Carrier Pigeon"; mocks = new MockRepository(); service = mocks.CreateMock<IShippingService>(); screen = mocks.CreateMock<IShippingScreen>(); presenter = new ShippingScreenPresenter(screen, service, shipment); }
public void SetUpTest() { mocks = new MockRepository(); service = mocks.CreateMock<IShippingService>(); screen = mocks.CreateMock<IShippingScreen>(); presenter = new ShippingScreenPresenter(screen, service); }