Example #1
0
        public void SetUp()
        {
            messageWriter  = new MockMessageWriter();
            queueRetrieval = new MockQueueRetrieval();
            messageReader  = new MockMessageReader();
            queueInsertion = new MockQueueInsertion();
            errorRetry     = new MockErrorRetry();

            program = new Program(
                new ArgParser(),
                queueRetrieval,
                messageWriter,
                messageReader,
                queueInsertion,
                errorRetry);
        }
Example #2
0
        public void SetUp()
        {
            messageWriter = new MockMessageWriter();
            queueRetrieval = new MockQueueRetrieval();
            messageReader = new MockMessageReader();
            queueInsertion = new MockQueueInsertion();
            errorRetry = new MockErrorRetry();
            conventions = new Conventions(new TypeNameSerializer());

            program = new Program(
                new ArgParser(),
                queueRetrieval,
                messageWriter,
                messageReader,
                queueInsertion,
                errorRetry,
                conventions);
        }
Example #3
0
        public void SetUp()
        {
            messageWriter  = new MockMessageWriter();
            queueRetrieval = new MockQueueRetrieval();
            messageReader  = new MockMessageReader();
            queueInsertion = new MockQueueInsertion();
            errorRetry     = new MockErrorRetry();
            conventions    = new Conventions(new TypeNameSerializer());

            program = new Program(
                new ArgParser(),
                queueRetrieval,
                messageWriter,
                messageReader,
                queueInsertion,
                errorRetry,
                conventions);
        }
Example #4
0
        public ProgramTests()
        {
            messageWriter  = new MockMessageWriter();
            queueRetrieval = new MockQueueRetrieval();
            messageReader  = new MockMessageReader();
            queueInsertion = new MockQueueInsertion();
            errorRetry     = new MockErrorRetry();
            conventions    = new Conventions(new LegacyTypeNameSerializer());
            defaultErrorMessageSerializer = new DefaultErrorMessageSerializer();

            program = new Program(
                new ArgParser(),
                queueRetrieval,
                messageWriter,
                messageReader,
                queueInsertion,
                errorRetry,
                conventions);
        }
Example #5
0
        public void SetUp()
        {
            messageWriter = new MockMessageWriter();
            queueRetrieval = new MockQueueRetrieval();
            messageReader = new MockMessageReader();
            queueInsertion = new MockQueueInsertion();
            errorRetry = new MockErrorRetry();

            program = new Program(
                new ArgParser(),
                queueRetrieval,
                messageWriter,
                messageReader,
                queueInsertion,
                errorRetry);
        }