Beispiel #1
0
 public void DuplicateTypeRegistrationThrows()
 {
     Assert.Throws <ArgumentException>(() => MessageTypeMapper.Create(
                                           MessageTypeMapper.ScopedFromType(typeof(SomeEvent)),
                                           MessageTypeMapper.ScopedFromType(typeof(SomeEvent))));
 }
Beispiel #2
0
 public MessageTypeMapperTests()
 {
     _sut = MessageTypeMapper.Create(MessageTypeMapper.ScopedFromType(typeof(SomeEvent)));
 }