test_class.declarator: testHeader = new Header(RequireToken.DEFAULT, "cafebabe")
test_class.modifier: private final
test_class.original_string: private final Header testHeader = new Header(RequireToken.DEFAULT, "cafebabe");
test_class.type: Header
test_class.var_name: testHeader
test_class.file: fathom-archetype-standard/src/main/resources/archetype-resources/src/test/java/controllers/ItemsControllerTest.java
test_class.identifier: ItemsControllerTest
test_class.superclass: extends RestIntegrationTest
test_case.body: @Test
      public void testGetXML() {
  
          // The XML response should look like:
          //
          // <item id="1">
          //   <name>Apples</name>
          // </item>
  
          given().accept(XML).when().header(testHeader).get("/api/items/{id}", 1).then().body("item.@id", equalTo("1"));
  
      }
test_case.class_method_signature: ItemsControllerTest.testGetXML()
test_case.full_signature: @Test public void testGetXML()
test_case.identifier: testGetXML
test_case.invocations: body then get header when accept given equalTo
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetXML()
focal_class.declarator: log = LoggerFactory.getLogger(ItemsController.class)
focal_class.modifier: private final
focal_class.original_string: private final Logger log = LoggerFactory.getLogger(ItemsController.class);
focal_class.type: Logger
focal_class.var_name: log
focal_class.declarator: dao
focal_class.modifier: @Inject
focal_class.original_string: @Inject
      ItemDao dao;
focal_class.type: ItemDao
focal_class.var_name: dao
focal_class.file: fathom-archetype-standard/src/main/resources/archetype-resources/src/main/java/controllers/ItemsController.java
focal_class.identifier: ItemsController
focal_class.class_method_signature: ItemsController.get(@Desc("ID of the item to retrieve") int id)
focal_class.full_signature: @GET("/{id: [0-9]+}") @ApiSummary("Get an item by id") @Return(code = 200, description = "Successful operation", onResult = Item.class) @Return(code = 404, description = "Item not found") @Metered public Item get(@Desc("ID of the item to retrieve") int id)
focal_class.identifier: get
focal_class.modifiers: @GET("/{id: [0-9]+}") @ApiSummary("Get an item by id") @Return(code = 200, description = "Successful operation", onResult = Item.class) @Return(code = 404, description = "Item not found") @Metered public
focal_class.parameters: (@Desc("ID of the item to retrieve") int id)
focal_class.return: Item
focal_class.signature: Item get(@Desc("ID of the item to retrieve") int id)
focal_class.superclass: extends ApiController
focal_method.body: @GET("/{id: [0-9]+}")
      @ApiSummary("Get an item by id")
      @Return(code = 200, description = "Successful operation", onResult = Item.class)
      @Return(code = 404, description = "Item not found")
      @Metered
      public Item get(@Desc("ID of the item to retrieve") int id) {
          Item item = dao.get(id);
          return item;
      }
focal_method.class_method_signature: ItemsController.get(@Desc("ID of the item to retrieve") int id)
focal_method.full_signature: @GET("/{id: [0-9]+}") @ApiSummary("Get an item by id") @Return(code = 200, description = "Successful operation", onResult = Item.class) @Return(code = 404, description = "Item not found") @Metered public Item get(@Desc("ID of the item to retrieve") int id)
focal_method.identifier: get
focal_method.invocations: get
focal_method.modifiers: @GET("/{id: [0-9]+}") @ApiSummary("Get an item by id") @Return(code = 200, description = "Successful operation", onResult = Item.class) @Return(code = 404, description = "Item not found") @Metered public
focal_method.parameters: (@Desc("ID of the item to retrieve") int id)
focal_method.return: Item
focal_method.signature: Item get(@Desc("ID of the item to retrieve") int id)