Skip to content

Commit

Permalink
テストケースの追加
Browse files Browse the repository at this point in the history
  • Loading branch information
m3y committed Nov 13, 2014
1 parent 855a7d1 commit 0c5f8bb
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/M3y/Phini/Test/PhiniTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,13 @@ public function 存在しないファイルパスの場合、例外が投げら
{
$ini = new Phini('illegal.ini');
}

/**
* @test
*/
public function 設定ファイルにない値を取得した場合、nullがかえること()
{
$ini = new Phini(__DIR__.DIRECTORY_SEPARATOR."test.ini");
$this->assertNull($ini->nothing);
}
}

0 comments on commit 0c5f8bb

Please sign in to comment.