public static void SupportedBaseTypeArgument_ShouldSucced(Type baseType)
        {
            var configuration = new JsonPolymorphicTypeConfiguration(baseType);

            Assert.Equal(baseType, configuration.BaseType);
            Assert.Empty(configuration);
        }
        public static void SupportedDerivedTypeArgument_ShouldSucced(Type baseType, Type derivedType)
        {
            var configuration = new JsonPolymorphicTypeConfiguration(baseType).WithDerivedType(derivedType);

            Assert.Equal(new[] { (derivedType, (string)null) }, configuration);