public function testIsDebug() { $this->factory ->expects($this ->once()) ->method('isDebug') ->will($this ->returnValue(false)); $this ->assertSame(false, $this->am ->isDebug(), '->isDebug() proxies the factory'); }