Created
          November 30, 2012 18:35 
        
      - 
      
- 
        Save ericsaboia/4177613 to your computer and use it in GitHub Desktop. 
    First TDD Step in PHP
  
        
  
    
      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
    
  
  
    
  | class SomeTest extends PHPUnit_Framework_TestCase | |
| { | |
| public function methodRunShouldExist() | |
| { | |
| $example = new ExampleClass(); | |
| $this->assertTrue(method_exists($example, 'run')); | |
| } | |
| } | |
| class ExampleClass | |
| { | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment