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