| 1 | <?php |
||
| 3 | class SheetTest extends PHPUnit_Framework_TestCase |
||
| 4 | { |
||
| 5 | /** |
||
| 6 | * @var OneSheet\Sheet |
||
| 7 | */ |
||
| 8 | protected static $sheet; |
||
| 9 | |||
| 10 | /** |
||
| 11 | * @var string |
||
| 12 | */ |
||
| 13 | private static $path; |
||
| 14 | |||
| 15 | public static function setUpBeforeClass() |
||
| 16 | { |
||
| 17 | self::$sheet = new \OneSheet\Sheet('A2'); |
||
| 18 | self::$path = sys_get_temp_dir() . DIRECTORY_SEPARATOR . 'sheet1.xml'; |
||
| 19 | } |
||
| 20 | |||
| 21 | public function testConstructor() |
||
| 22 | { |
||
| 23 | $this->assertInstanceOf('OneSheet\Sheet', new OneSheet\Sheet('B2')); |
||
| 24 | } |
||
| 25 | |||
| 26 | public function testSheetFilePath() |
||
| 54 |