~jacekn/wordpress/wp-plugin-swift-storage-v2

« back to all changes in this revision

Viewing changes to vendor/phpunit/phpunit/tests/_files/RequirementsClassBeforeClassHookTest.php

  • Committer: Jacek Nykis
  • Date: 2015-02-11 15:35:31 UTC
  • Revision ID: jacek.nykis@canonical.com-20150211153531-hmy6zi0ov2qfkl0b
Initial commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
 
 
3
/**
 
4
 * @requires extension nonExistingExtension
 
5
 */
 
6
class RequirementsClassBeforeClassHookTest extends PHPUnit_Framework_TestCase
 
7
{
 
8
    public static function setUpBeforeClass()
 
9
    {
 
10
        throw new Exception(__METHOD__.' should not be called because of class requirements.');
 
11
    }
 
12
}