void JoinAuction()
 {
     xmppClient.Login();
         var itemJid = new Jid(this.ItemId, XMPP_HOST, RESOURCE);
         IAuction auction = new XmppAuction(xmppClient, itemJid);
         var auctionMessageTranslator = new AuctionMessageTranslator(new Domain.AuctionSniper(this, auction));
         xmppClient.OnChatMessageReceived += (s, msg) => auctionMessageTranslator.Process(msg);
         auction.Join();
     ShowStatus("joining");
 }
 public void Before()
 {
     mockery = new MockFactory();
     auctionEventListener = mockery.CreateMock<IAuctionEventListener>();
     auctionMessageTranslator = new AuctionMessageTranslator(auctionEventListener.MockObject);
 }