public function testCallEmptyStack() { $stack = new Stack(); $this->assertInstanceOf('Server\\Response', $stack->call()); $stack->setState(Stack::STATE_DONE); $this->assertInstanceOf('Server\\Response', $stack->call()); $this->assertNull($stack->resolve()); }