public function load($datatype = null, $documentId = null) { if (empty($datatype)) { return false; } $this->setData('datatype_model', $datatype); $this->setData('document_id', $documentId); }
/** * Test * * @return void */ public function testLoadWithEmptyDatatype() { $this->assertFalse($this->object->load(null, null)); }