/** * @covers ::setConfig * @covers ::getConfig */ public function testSetConfig() { $jobby = new Jobby(); $oldCfg = $jobby->getConfig(); $jobby->setConfig(['dateFormat' => 'foo bar']); $newCfg = $jobby->getConfig(); $this->assertEquals(count($oldCfg), count($newCfg)); $this->assertEquals('foo bar', $newCfg['dateFormat']); }