private EntityInfo CreateEntityInfo(TEntityImplementation implementation) { Type? type = typeExtractor.ExtractFrom(implementation); string fullName = fullNameExtractor.ExtractFrom(implementation); var directErrors = validator.Validate(implementation); return(new EntityInfo ( type ?? MetaInfo.MetaInfo.UnknownImplementation, type, fullName, directErrors )); }
public void Extractsᅠtypeᅠwhenᅠtypeᅠisᅠconcreteᅠreferenceᅠtype() { Type type = typeof(string); extractor.ExtractFrom(type).Should().Be(type); }