Skip to content

Commit

Permalink
Add test for #3754
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Jun 25, 2014
1 parent 239af03 commit a40fa5c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lib/Cake/Test/Case/Utility/HashTest.php
Expand Up @@ -229,6 +229,16 @@ public function testGet() {
$this->assertEquals($data[1]['Article'], $result);
}

/**
* Test get() with an invalid path
*
* @expectedException InvalidArgumentException
* @return void
*/
public function testGetInvalidPath() {
Hash::get(array('one' => 'two'), true);
}

/**
* Test dimensions.
*
Expand Down

0 comments on commit a40fa5c

Please sign in to comment.