@Test(expected = ConfigurationParseException.class)
    @Configuration(classpathConfigFile = "empty-config.json")
    @BackEndApi(EchoBackEndApi.class)
    public void testValidateConfiguration() throws Throwable {
        final PolicyTestRequest request = PolicyTestRequest.build(PolicyTestRequestType.GET, "/example");
        send(request);

        fail(ConfigurationParseException.class + " expected");
    }
Expects that a {@link ConfigurationParseException} is thrown if the header name configuration item is not set.
plugins/unique-header-policy/src/test/java/io/apiman/plugins/uniqueheader/UniqueHeaderPolicyTest.java