public void GetTypeInfo_FindsById() { VersionedType result = sut.GetTypeInfo <ITestType>(new VersionedTypeId("TestTypeB", 2)); result.Should().Be(allTypes.Single(x => x.ClrType == typeof(TestTypeBV2))); }
public void GetTypeInfo_FindsByClrType() { VersionedType result = sut.GetTypeInfo <ITestType>(typeof(TestTypeA)); result.Should().Be(allTypes.Single(x => x.ClrType == typeof(TestTypeA))); }