Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
saveModelSuccessfully () | |
saveModelAndFailOnUpdate () | |
deleteModelSuccessfully () | |
testConstructorIrrelevantModelClass () | |
crudDataProvider () | |
testTestCrud ($saveCallback, $expectedException=null) | |
Protected Member Functions | |
setUp () | |
Protected Attributes | |
$_model | |
Definition at line 8 of file EntityTest.php.
crudDataProvider | ( | ) |
Definition at line 62 of file EntityTest.php.
deleteModelSuccessfully | ( | ) |
Callback for delete method in mocked model
Definition at line 48 of file EntityTest.php.
saveModelAndFailOnUpdate | ( | ) |
Callback for save method in mocked model
Definition at line 36 of file EntityTest.php.
saveModelSuccessfully | ( | ) |
Callback for save method in mocked model
Definition at line 26 of file EntityTest.php.
|
protected |
Definition at line 15 of file EntityTest.php.
testConstructorIrrelevantModelClass | ( | ) |
@expectedException \InvalidArgumentException @expectedExceptionMessage Class 'stdClass' is irrelevant to the tested model
Definition at line 57 of file EntityTest.php.
testTestCrud | ( | $saveCallback, | |
$expectedException = null |
|||
) |
@dataProvider crudDataProvider
Definition at line 76 of file EntityTest.php.
|
protected |
Definition at line 13 of file EntityTest.php.