Recommend this page to a friend! |
Classes of Renato Lucena | PHP Pokemon Script | vendor/hamcrest/hamcrest-php/README.md | Download |
|
DownloadThis is the PHP port of Hamcrest MatchersHamcrest is a matching library originally written for Java, but subsequently ported to many other languages. hamcrest-php is the official PHP port of Hamcrest and essentially follows a literal translation of the original Java API for Hamcrest, with a few Exceptions, mostly down to PHP language barriers: 1. 2.
3.
4. Unless it would be non-semantic for a matcher to do so, hamcrest-php
5. Several official matchers have not been ported because they don't
6. When most of the collections matchers are finally ported, PHP-specific
UsageHamcrest matchers are easy to use as:
[Unless we consider POPO's (Plain Old PHP Objects) akin to JavaBeans]
|