assertException("unknown"); throw new Exception("unknown"); } /** * @depends testBasic */ function testPlain() { $this->assertException("unknown"); throw new Exception(); } /** * @depends testBasic */ function testNamespace() { $this->assertException("fileMissing", "Lang"); throw new Lang\Exception("fileMissing"); } /** * @depends testNamespace */ function testValues() { $this->assertException("fileMissing", "Lang"); throw new Lang\Exception("fileMissing", "en"); } }