Skip to content

Instantly share code, notes, and snippets.

@Brunty
Created February 16, 2017 15:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Brunty/d6c2b659fd2643f76a7466093db3e5fe to your computer and use it in GitHub Desktop.
Save Brunty/d6c2b659fd2643f76a7466093db3e5fe to your computer and use it in GitHub Desktop.
<?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