Example #1
0
 /**
  * getPaths description
  *
  * @param  string
  * @param  string
  * @param  string
  *
  * @return  string  getPathsReturn
  *
  * @dataProvider  getPathData
  * 
  * @since  2.0
  */
 public function testGetPaths($paths, $expects)
 {
     $this->setUp();
     $this->collection->addPaths($paths);
     $paths = $this->collection->getPaths();
     $this->assertEquals($paths, $expects);
 }
 /**
  * test__construct description
  *
  * @param  string
  * @param  string
  * @param  string
  *
  * @return  string  test__constructReturn
  *
  * @since  1.0
  */
 public function test__construct()
 {
     $collections = new PathCollection('/var/www/foo/bar');
     $paths = $collections->getPaths();
     $this->assertEquals(array(new PathLocator('/var/www/foo/bar')), $paths);
 }