protected override void Given() { requestTypeRegistry = MockRepository.GenerateStub <IRequestTypeRegistry>(); requestTypeRegistry.Stub(r => r.GetRegisteredRequestTypes()).Return(new[] { typeof(TestRequestWithoutResponseRequest) }); }
public BasicConventions(IRequestTypeRegistry configuration) { BuildRequestReponseMappings(configuration.GetRegisteredRequestTypes()); }
protected override void Given() { requestTypeRegistry = MockRepository.GenerateStub<IRequestTypeRegistry>(); requestTypeRegistry.Stub(r => r.GetRegisteredRequestTypes()).Return(new[] { typeof(TestRequestWithoutResponseRequest) }); }