(NFC) GenericAssertionsTrait - Improve docblocks
authorTim Otten <totten@civicrm.org>
Mon, 19 Aug 2019 00:21:47 +0000 (17:21 -0700)
committerTim Otten <totten@civicrm.org>
Mon, 19 Aug 2019 00:25:44 +0000 (17:25 -0700)
commitff93f0ab952152f0eb2edc6c32b5ee156724005e
tree7ce277151c67df3011aaedbf4d77b925f73c909d
parent250a9c3de7b98042f05beac8b8efd940a7037ca9
(NFC) GenericAssertionsTrait - Improve docblocks

This code was previously extracted from CiviUnitTestCase. It had weak docblocks. Make them better.

Changes:

* Add more types and examples.
* Describe some of the subtleties in the different forms of array-comparison.
* Remove dependency on `ts()`.  Unit-test assertions are not actually translated.
Civi/Test/GenericAssertionsTrait.php