Skip to content

Instantly share code, notes, and snippets.

@jcarouth
Created October 4, 2015 20:36
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 jcarouth/8db98a721109eb62d4ce to your computer and use it in GitHub Desktop.
Save jcarouth/8db98a721109eb62d4ce to your computer and use it in GitHub Desktop.
Secret Project with 100% test coverage
<?php
class SecretProject
{
public function run()
{
return true;
}
}
<?php
class SecretProjectTest extends \PHPUnit_Framework_TestCase
{
public function testRunReturnsTrue()
{
$app = new SecretProject();
$this->assertEquals(true, $app->run());
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment