Skip to content

Commit

Permalink
Added more tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
comfortablynumb committed Dec 29, 2015
1 parent a762b31 commit f477dc8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/Unit/ConfigTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,15 @@

class ConfigTest extends AbstractTestCase
{
/**
* @expectedException \RuntimeException
*/
public function test_callFunction_ifFunctionExistsThrowsException()
{
$config = $this->createInstance([]);
$config->callFunction('function_does_not_exist!', 'a', ['b']);
}

/**
* @dataProvider callFunctionDataProvider
*/
Expand Down

0 comments on commit f477dc8

Please sign in to comment.