Exemplo n.º 1
0
        public void SetUp()
        {
            streamingData = new InMemoryStreamingData();
            writer = new InMemoryOutputWriter();

            theFormatter = new XmlFormatter(streamingData, writer);
        }
        public void SetUp()
        {
            request = new InMemoryFubuRequest();

            message = new Message
            {
                Number = 10,
                Details = new Detail[]
                {
                    new Detail("Jeremy", 36),
                    new Detail("Max", 6),
                    new Detail("Natalie", 28),
                }
            };

            data = new InMemoryStreamingData();
            data.JsonInputIs(message);
        }
Exemplo n.º 3
0
 public void SetUp()
 {
     streamingData = new InMemoryStreamingData();
     theFormatter = new XmlFormatter(streamingData);
 }