public function testGetOne() { $this->setLoadAllExpectation(); $this->setLoadConfigExpectation(); $this->assertSame(['key' => 'value'], $this->model->getOne('foo')); $this->assertNull($this->model->getOne('bar')); }
public function testGetOne() { $expect = ['data' => 'b']; $this->assertEquals($expect, $this->moduleList->getOne('Vendor_B')); }