Incomplete Tests When you are working on a new test case class, you might want to begin by writing empty test methods such
@after The @after annotation can be used to specify methods that should be called after each test method in a
@expectedExceptionMessage The @expectedExceptionMessage annotation works similar to @e
The PHPUnit command-line test runner can be invoked through the phpunit command. The following code shows how to run tests with the PHPUnit command-line
assertFalse() assertFalse(bool $condition[, string $message = ''])
@expectedExceptionMessageRegExp The expected message can also be specified as a regular expression using the @expec
assertIsWritable() assertIsWritable(string $filename[, string $message = ''])
@author The @author annotation is an alias for the @group annotation (see
assertEmpty() assertEmpty(mixed $actual[, string $message = ''])
assertStringEqualsFile() assertStringEqualsFile(string $expectedFile, string $actualString[
Page 2 of 9