def METHOD_NAME(self):
    """This test obtains results via the response_raising property of a
    Request."""
    yieldfrom = self.loop.run_until_complete
    request = aiocoap.Message(code=aiocoap.GET, uri="coap://" + self.servernetloc + "/empty")
    response = yieldfrom(self.client.request(request).response_raising)
    self.assertEqual(response.code, aiocoap.CONTENT, "Response access via response_raising failed")
    request = aiocoap.Message(code=aiocoap.GET, uri="coap://" + self.servernetloc + "/nonexistent")
    ## @FIXME i'd like to assertRaises(NotFound), see docstring of
    # :class:`ResponseWrappingError`
    self.assertRaises(aiocoap.error.ResponseWrappingError, yieldfrom,
            self.client.request(request).response_raising)