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