async def METHOD_NAME(vm):
    response = MagicMock()
    response.status = 200
    response.headers = {'CONTENT-TYPE': 'application/json'}
    async def read():
        return b'{"c": false}'
    response.read.side_effect = read
    vm._session.request = AsyncioMagicMock(return_value=response)
    data = await vm.query("POST", "test", data={"a": True}, params={"b": 1})
    vm._session.request.assert_called_with('POST',
                                           'http://docker/v1.25/test',
                                           data='{"a": true}',
                                           headers={'content-type': 'application/json'},
                                           params={'b': 1},
                                           timeout=300)
    assert data == {"c": False}