public void can_read_a_direct_type_name_with_options() { var foundType = ContractStack.FirstKnownType("Example.Types.IMetadataFile;Example.Types.IFile", null); Assert.That(foundType, Is.EqualTo(typeof(IMetadataFile))); }
public void can_get_first_available_real_type() { var foundType = ContractStack.FirstKnownType(sample, null); Assert.That(foundType, Is.EqualTo(typeof(IMetadataFile))); }