public function testGetFieldsetIfFieldsetIsEmpty() { $this->_storageMock->expects($this->once())->method('get')->will($this->returnValue([])); $result = $this->_model->getFieldset('test'); $this->assertEquals(null, $result); }
/** * Get fieldsets by $path * * @param string $path * @return array */ public function getFieldsets($path) { return $this->_dataStorage->get($path); }