### Question:
WebServiceResourceInfo extends BaseResourceInfo { @JsonIgnore public void setMethod( String method ) { putAttribute( "method", method ); } WebServiceResourceInfo(); @JsonIgnore void setMethod( String method ); @JsonIgnore void setBody( String body ); @JsonIgnore void setApplicationType( String applicationType ); @JsonIgnore void addParameter( String name, Object value ); @JsonIgnore void addHeader( String name, Object value );  }### Answer:
@Test public void testSetMethod() throws Exception { resourceInfo.setMethod( "myMethod" ); assertEquals( resourceInfo.getAttributes().get( "method" ), "myMethod" ); }