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