Multiple with() can cause bad index

```php
    public function testRedirectToWillOnlyHappenIfOnProduction()
    {
        /** @var \LoginController $controller */
        $controller = $this->niceMock('LoginController', ["login"])
            ->expect('redirect')->with('https://mydomain')->never()
                                ->with('foo')
            ->stub(['getDomain' => 'mydomain.local', 'getAccessCodeUrl' => 'foo'])
            ->get();

        $controller->actionGo();
    }
```

```
Undefined index: 94fca0fba018df9661b4b457a2a54cfa
```