@ifpingram Thank you very much for that solution :3. I was being ripping my hair, trying to make that one green.
And I did some more digging:
$cookie1 = ['name1' => Crypt::encrypt('value1')];
$cookie2 = ['name2' => Crypt::encrypt('value2')];
$this->call('get', 'test', [], [$cookie1, $cookie2]);
$this->assertEquals('value1', $this->response->content());
That test fails.
And here is method definition from src:
public function call($method, $uri, $parameters = [], $cookies = [], ...
It says $cookies and not cookie. Yet it accepts only one cookie and that one should be weirdly parsed.
I will probably stay on that issue for a little bit longer. That kind of interface is not suitable for common developer. Even armed with xdebug I wasn't able to figure things out.