While adding https://github.com/10up/wp_mock/pull/220 I forgot one method (for @10up/godaddy-wp_mock these are basically the same as in MWC Tests, and with the addition of this PR we can drop them -- figured these are generally helpful and could be part of WP_Mock directly).
This PR also updates the docs related to AccessInaccessibleClassMembersTrait.
coverage: 65.6% (+0.05%) from 65.554% when pulling 77d399804de96dacee4cb07638c919c0561fdba7 on chore/add-set-inaccessible-property-value-helper-method into c176fd84d20636fb656d9f12f6cfff8d171c78c9 on trunk.
Summary
While adding https://github.com/10up/wp_mock/pull/220 I forgot one method (for @10up/godaddy-wp_mock these are basically the same as in MWC Tests, and with the addition of this PR we can drop them -- figured these are generally helpful and could be part of WP_Mock directly).
This PR also updates the docs related to
AccessInaccessibleClassMembersTrait
.Fixes an unrelated flaky test.
Contributor checklist
Testing
Reviewer checklist
- [ ] Code changes review - [ ] Documentation changes review - [ ] Unit tests pass - [ ] Static analysis passes