Exemplo n.º 1
0
        public void Initialize()
        {
            _mockery = new Mockery();
            _context = _mockery.NewMock <IComponentInitContext>();
            IPropertySet config = PropertySet.Create();

            config["endpoint_name"] = "PrepaidVoucherInBound";
            config["endpoint_port"] = "8083";
            Expect.AtLeastOnce.On(_context).GetProperty("Config").Will(Return.Value(config));
        }