Created
February 16, 2017 15:28
-
-
Save Brunty/d6c2b659fd2643f76a7466093db3e5fe to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
#if (${NAMESPACE}) | |
namespace ${NAMESPACE}; | |
#end | |
#if (${NAMESPACE} && !${TESTED_NAMESPACE}) | |
use ${TESTED_NAME}; | |
#elseif (${TESTED_NAMESPACE} && ${NAMESPACE} != ${TESTED_NAMESPACE}) | |
use ${TESTED_NAMESPACE}\\${TESTED_NAME}; | |
#end | |
class ${NAME} extends#if(${NAMESPACE}) \PHPUnit_Framework_TestCase #else PHPUnit_Framework_TestCase #end | |
{ | |
/** | |
* @test | |
*/ | |
public function it_does_a_thing() | |
{ | |
self::assertTrue(false); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment