Example #1
0
 /**
  * Sets up the fixture, for example, open a network connection.
  * This method is called before a test is executed.
  */
 public function setUp()
 {
     $this->file = new File('test.txt');
     $this->file->openFile('w')->fwrite('test');
 }