public function testShouldThrowExceptionWhenOptionsIsInvalid($expected, $options) { $this->tester->setExpectedException('\\Phalcon\\Acl\\Exception', "Parameter '{$expected}' is required and it must be a non empty string"); new Database($options); }