X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fphpunit%2Fphpunit%2Ftests%2F_files%2FExceptionInAssertPostConditionsTest.php;fp=vendor%2Fphpunit%2Fphpunit%2Ftests%2F_files%2FExceptionInAssertPostConditionsTest.php;h=b86927e9b48a9e051d3de3af8fa5867bf789e614;hp=0000000000000000000000000000000000000000;hb=eba34333e3c89f208d2f72fa91351ad019a71583;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae diff --git a/vendor/phpunit/phpunit/tests/_files/ExceptionInAssertPostConditionsTest.php b/vendor/phpunit/phpunit/tests/_files/ExceptionInAssertPostConditionsTest.php new file mode 100644 index 000000000..b86927e9b --- /dev/null +++ b/vendor/phpunit/phpunit/tests/_files/ExceptionInAssertPostConditionsTest.php @@ -0,0 +1,35 @@ +setUp = true; + } + + protected function assertPreConditions() + { + $this->assertPreConditions = true; + } + + public function testSomething() + { + $this->testSomething = true; + } + + protected function assertPostConditions() + { + $this->assertPostConditions = true; + throw new Exception; + } + + protected function tearDown() + { + $this->tearDown = true; + } +}