@Override
    public ConfigurationRequest getRequestedConfiguration() {
        final ConfigurationRequest configurationRequest = new ConfigurationRequest();
        configurationRequest.addField(new TextField(CK_URL,
                "URL",
                "https://example.org/alerts",
                "The URL to POST to when an alert is triggered",
                ConfigurationField.Optional.NOT_OPTIONAL));

        return configurationRequest;
    }
@Test
    public void getRequestedConfigurationContainsURLField() throws Exception {
        final ConfigurationRequest requestedConfiguration = alarmCallback.getRequestedConfiguration();
        final ConfigurationField field = requestedConfiguration.getField("url");
        assertThat(field).isNotNull();
        assertThat(field.getHumanName()).isEqualTo("URL");
        assertThat(field.isOptional()).isEqualTo(ConfigurationField.Optional.NOT_OPTIONAL);
    }