Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct (\Magento\Framework\Model\AbstractModel $model, array $updateData, $modelClass=null) | |
testCrud () | |
Protected Member Functions | |
_getEmptyModel () | |
_testCreate () | |
_testRead () | |
_testUpdate () | |
_testDelete () | |
Protected Attributes | |
$_model | |
$_updateData | |
$_modelClass | |
Class that implements CRUD tests for \Magento\Framework\Model\AbstractModel based objects
Definition at line 12 of file Entity.php.
__construct | ( | \Magento\Framework\Model\AbstractModel | $model, |
array | $updateData, | ||
$modelClass = null |
|||
) |
\Magento\Framework\Model\AbstractModel | $model | |
array | $updateData | |
string | null | $modelClass | Class of a model to use when creating new instances, or NULL for auto-detection |
Definition at line 35 of file Entity.php.
|
protected |
Retrieve new instance of not yet loaded model
Definition at line 70 of file Entity.php.
|
protected |
Definition at line 75 of file Entity.php.
|
protected |
Definition at line 109 of file Entity.php.
|
protected |
Definition at line 84 of file Entity.php.
|
protected |
Definition at line 91 of file Entity.php.
testCrud | ( | ) |
|
protected |
Definition at line 17 of file Entity.php.
|
protected |
Definition at line 27 of file Entity.php.
|
protected |
Definition at line 22 of file Entity.php.