Ejemplo n.º 1
0
 public void TestBroker()
 {
     TestMessage message = new TestMessage {Id = Guid.NewGuid(), Text = "Some text"};
     MessageBroker broker = new MessageBroker();
     broker.Write(message);
     TestMessage readMessage = broker.Read<TestMessage>(0);
     Assert.IsNotNull(readMessage);
 }