/** * @covers Maintenance::setConfig */ public function testSetConfig() { $conf = $this->getMock('Config'); $this->m->setConfig($conf); $this->assertSame($conf, $this->m->getConfig()); }