Beispiel #1
0
        public void TestFixtureSetUp()
        {
            _started = false;

            var recipientController = new Clerk(this, this);

            recipientController.Run();
        }
        public void Then_it_sends_a_telegram()
        {
            _actualChit = null;

            var senderController = new Clerk(this, this);

            senderController.Run();

            OnTelegramRequestReceived(new ChitDeliveredEventArgs(new Chit("Hello, world!")));
        }
        public void TestFixtureSetUp()
        {
            _actualTelegram = null;

            var recipientController = new Clerk(this, this);

            recipientController.Run();

            _expectedTelegram = new Telegram("Hello, world!");
            OnTelegramReceived(new TelegramReceivedEventArgs(_expectedTelegram));
        }