public function testNonVerboseOutput() { $io = $this->prophesize('ConsoleHelpers\\ConsoleKit\\ConsoleIO'); $io->isVerbose()->willReturn(false)->shouldBeCalled(); $io->writeln(Argument::cetera())->shouldNotBeCalled(); $this->statementProfiler->setIO($io->reveal()); $this->statementProfiler->setActive(true); $this->statementProfiler->addProfile(5, 'perform', 'bb', array('cc' => 'dd')); $this->assertCount(1, $this->statementProfiler->getProfiles()); }