Exemplo n.º 1
0
        public void GetTypeInfo_FindsById()
        {
            VersionedType result = sut.GetTypeInfo <ITestType>(new VersionedTypeId("TestTypeB", 2));

            result.Should().Be(allTypes.Single(x => x.ClrType == typeof(TestTypeBV2)));
        }
Exemplo n.º 2
0
        public void GetTypeInfo_FindsByClrType()
        {
            VersionedType result = sut.GetTypeInfo <ITestType>(typeof(TestTypeA));

            result.Should().Be(allTypes.Single(x => x.ClrType == typeof(TestTypeA)));
        }