@ticket
assertContains() assertContains(mixed $needle, Iterator|array $haystack[, string $message
Gerard Meszaros introduces the concept of Test Doubles in [Meszaros2007] like this:
@requires The @requires annotation can be used to skip tests when common preconditions, like the PHP Version
@expectedExceptionCode The @expectedExceptionCode annotation, in conjunction with the
@uses The @uses annotation specifies code which will be executed by a test, but is not intended to be covered
assertSame() assertSame(mixed $expected, mixed $actual[, string $message = ''])
PHPUnit can perform the additional checks documented below while it executes the tests. Useless Tests
@beforeClass The @beforeClass annotation can be used to specify static methods that should be called before any
Example 2.1 shows how we can write tests using PHPUnit that exercise PHP's array operations. The example introduces the basic conventions and steps for writing tests with
Page 9 of 9