def METHOD_NAME(self):
    """return the shape using the  __geo_interface__ protocol with attribute names"""
    layer = self.map.getLayerByName('POINT')
    layer.open()
    layer.template = "FAKE"
    layer.queryByIndex(self.map, -1, 0)
    res = layer.getResult(0)
    s = layer.getShape(res)
    s.itemdefinitions = layer.getItemDefinitions()
    assert s.__geo_interface__ == {
        'geometry': {
            'type': 'Point',
            'coordinates': [[(0.0, 51.477222, 0.0)]]
        },
        'type': 'Feature',
        'bbox': (0.0, 51.477222, 0.0, 51.477222),
        'properties': {'FNAME': 'A Point', 'FID': 1}
     }
    layer.close()