예제 #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);
        }
예제 #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);
        }
예제 #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);
        }
예제 #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);
        }
예제 #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);
        }