Created
October 4, 2015 20:36
-
-
Save jcarouth/8db98a721109eb62d4ce to your computer and use it in GitHub Desktop.
Secret Project with 100% test coverage
This file contains 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 | |
class SecretProject | |
{ | |
public function run() | |
{ | |
return true; | |
} | |
} |
This file contains 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 | |
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