assertThat( resource.role(), is( "test-service-role" ) );
assertThat( resource.pattern(), is( "test-service/?**" ) );
List<FilterDescriptor> filters = resource.filters();
assertThat( filters.size(), is( 1 ) );
FilterDescriptor filter = filters.get( 0 );
assertThat( filter.role(), is( "pivot") );
assertThat( filter.name(), is( "jersey" ) );
assertThat( filter.impl(), is( "org.glassfish.jersey.servlet.ServletContainer" ) );
List<FilterParamDescriptor> params = filter.params();
assertThat( params.size(), is( 1 ) );
FilterParamDescriptor param = params.get( 0 );