@Test
    public void testBooleanFlags() {
        SoapAuthorizationPolicy policy = new SoapAuthorizationPolicy();

        String config = "{}";
        Object parsed = policy.parseConfiguration(config);
        SoapAuthorizationConfig parsedConfig = (SoapAuthorizationConfig) parsed;
        
        config = "{\r\n" +
                "    \"requestUnmatched\" : \"pass\",\r\n" +
                "    \"multiMatch\" : \"any\"\r\n" +
                "}\r\n" +
                "";
        parsed = policy.parseConfiguration(config);
        parsedConfig = (SoapAuthorizationConfig) parsed;
        Assert.assertEquals(Collections.emptyList(), parsedConfig.getRules());
        Assert.assertEquals(MultipleMatchType.any, parsedConfig.getMultiMatch());
        Assert.assertEquals(UnmatchedRequestType.pass, parsedConfig.getRequestUnmatched());
    }
Unit test

@author rubenrm1@gmail.com
@author rachel.yordan@redhat.com
Test the {@link SoapAuthorizationConfig}.
plugins/soap-authorization-policy/src/test/java/io/apiman/plugins/soap_authorization_policy/SoapAuthorizationPolicyConfigTest.java