reporter = new JsonReporter(); parent::tearDown(); } /** * Test reporting on an empty requirements/lock list. */ public function testEmptyReport() { $this->prophecy->getRows()->willReturn([]); $this->expected = '[]'; } /** * Test reporting on a normal non-empty list. */ public function testNonEmptyReport() { $this->prophecy->getRows()->willReturn([ 'dev' => [], 'run' => [], ]); $this->expected = <<