### Question:
BySchemaVersionVerifier extends AbstractVerifier<GenericContainer> { @Override public void init( String subject, ExtendedSchemaRegistryClient schemaRegistryClient, Map<String, ?> config) { super.init(subject, schemaRegistryClient, config); initAllowedVersionRange(); }  @Override void init(
            String subject,
            ExtendedSchemaRegistryClient schemaRegistryClient,
            Map<String, ?> config); @Override VerificationResult verify(GenericContainer data, Schema originalSchema); static final String SCHEMA_VERSION_CONFIG; }### Answer:
@Test(expected=Exception.class) public void testInitFailedOnMissingConfigArgument() throws Exception { Map<String, Object> config = null; ExtendedSchemaRegistryClient schemaRegistryClient = Mockito.mock(ExtendedSchemaRegistryClient.class); try (BySchemaVersionVerifier verifier = new BySchemaVersionVerifier()) { verifier.init("nomatter", schemaRegistryClient, config); } }
@Test(expected=Exception.class) public void testInitFailedOnInvalidVersionArgument() throws Exception { Map<String, Object> config = new HashMap<>(); config.put(BySchemaVersionVerifier.SCHEMA_VERSION_CONFIG, "[3,2]"); ExtendedSchemaRegistryClient schemaRegistryClient = Mockito.mock(ExtendedSchemaRegistryClient.class); try (BySchemaVersionVerifier verifier = new BySchemaVersionVerifier()) { verifier.init("nomatter", schemaRegistryClient, config); } }