public void When()
        {
            bool isActive = true;

            _eventProcessor = new EventProcessor(isActive);
            _shipKingRoy    = new Ship("King Roy");
            _customsApi     = A.Fake <ICustomsApi> ();

            _customsEventGateway = new CustomsEventGateway(true, _customsApi);
            _portOfSanFrancisco  = new Port("San Francisco", Country.US, _customsEventGateway);
            ArrivalEvent ev = new ArrivalEvent(new DateTime(2005, 11, 1), _portOfSanFrancisco, _shipKingRoy);

            _eventProcessor.Process(ev);
        }
        public void When()
        {
            bool isActive = true;

            _eventProcessor = new EventProcessor(isActive);
            _shipKingRoy    = new Ship("King Roy");
            var customsApi = A.Fake <ICustomsApi> ();
            CustomsEventGateway customsEventGateway = new CustomsEventGateway(isActive, customsApi);

            _portOfSanFrancisco = new Port("San Francisco", Country.US, customsEventGateway);
            _portOfLosAngeles   = new Port("Los Angeles", Country.US, customsEventGateway);
            _eventProcessor.Process(new ArrivalEvent(new DateTime(2005, 10, 1), _portOfLosAngeles, _shipKingRoy));
            _eventProcessor.Process(new ArrivalEvent(new DateTime(2005, 11, 1), _portOfSanFrancisco, _shipKingRoy));
            _eventProcessor.Process(new DepartureEvent(new DateTime(2005, 11, 1), _portOfSanFrancisco, _shipKingRoy));
        }