예제 #1
0
 public function testCanGetStubPath()
 {
     $iseed = new Orangehill\Iseed\Iseed();
     $output = $iseed->getStubPath();
     $expected = substr(__DIR__, 0, -5) . 'src/Orangehill/Iseed/Stubs';
     $this->assertEquals($expected, $output);
 }
예제 #2
0
 public function testCanGetStubPath()
 {
     $iseed = new Orangehill\Iseed\Iseed();
     $output = $iseed->getStubPath();
     $expected = substr(__DIR__, 0, -5) . 'src' . DIRECTORY_SEPARATOR . 'Orangehill' . DIRECTORY_SEPARATOR . 'Iseed' . DIRECTORY_SEPARATOR . 'Stubs';
     $this->assertEquals($expected, $output);
 }