Пример #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);
        }