Issue #3310321 by Murz: Mock EntityBase::delete function to delete entity from the mocked storage
Showing
- README.md 29 additions, 7 deletionsREADME.md
- src/EntityStorageStub.php 62 additions, 163 deletionssrc/EntityStorageStub.php
- src/EntityStorageStubFactory.php 153 additions, 0 deletionssrc/EntityStorageStubFactory.php
- src/EntityStubFactory.php 223 additions, 0 deletionssrc/EntityStubFactory.php
- src/EntityTypeManagerStubFactory.php 75 additions, 0 deletionssrc/EntityTypeManagerStubFactory.php
- src/FieldItemListStubFactory.php 1 addition, 1 deletionsrc/FieldItemListStubFactory.php
- src/FieldTypeManagerStub.php 3 additions, 3 deletionssrc/FieldTypeManagerStub.php
- src/UnitTestHelpers.php 30 additions, 5 deletionssrc/UnitTestHelpers.php
- tests/src/Unit/EntityStorageStubApiTest.php 14 additions, 9 deletionstests/src/Unit/EntityStorageStubApiTest.php
- tests/src/Unit/EntityStorageStubFunctionsTest.php 9 additions, 7 deletionstests/src/Unit/EntityStorageStubFunctionsTest.php
- tests/src/Unit/ExampleCodeTest.php 44 additions, 0 deletionstests/src/Unit/ExampleCodeTest.php
Loading
Please register or sign in to comment