Search in sources :

Example 1 with JerseyInitConfig

use of com.yahoo.container.config.jersey.JerseyInitConfig in project vespa by vespa-engine.

the class RestApiTest method config_has_correct_jersey_mapping.

@Test
public void config_has_correct_jersey_mapping() throws Exception {
    setup();
    JerseyInitConfig config = root.getConfig(JerseyInitConfig.class, handler.getConfigId());
    assertThat(config.jerseyMapping(), is(Path));
}
Also used : JerseyInitConfig(com.yahoo.container.config.jersey.JerseyInitConfig) Test(org.junit.Test) DomBuilderTest(com.yahoo.config.model.builder.xml.test.DomBuilderTest)

Aggregations

DomBuilderTest (com.yahoo.config.model.builder.xml.test.DomBuilderTest)1 JerseyInitConfig (com.yahoo.container.config.jersey.JerseyInitConfig)1 Test (org.junit.Test)1