public void Class_abstract_generic_with_only_properties_generic_should_not_be_mapped() { var genericClassType = typeof(GenericAbstractCommand <>); mapper.Initialize(new[] { genericClassType }); Assert.Null(mapper.GetMappedTypeFor(genericClassType)); }
public void Initialize(Type type) { _mapper.Initialize(new[] { type }); }
public void Interfaces_with_only_properties_should_be_mapped() { mapper.Initialize(new[] { typeof(InterfaceWithProperties) }); Assert.NotNull(mapper.GetMappedTypeFor(typeof(InterfaceWithProperties))); }
public void Initialize(IEnumerable <Type> types) { messageMapper.Initialize(types); }