12 protected function _before()
17 protected function _after()
22 public function testAccount()
24 $parser = new \Udger\Parser(
25 \Codeception\Util\Stub::makeEmpty(
"Psr\Log\LoggerInterface"),
26 \Codeception\Util\Stub::makeEmpty(
"Udger\Helper\IP"));
27 $parser->setAccessKey(
"nosuchkey");
29 $this->setExpectedException(
"Exception");
33 public function testAccountMissingKey()
35 $parser = new \Udger\Parser(
36 \Codeception\Util\Stub::makeEmpty(
"Psr\Log\LoggerInterface"),
37 \Codeception\Util\Stub::makeEmpty(
"Udger\Helper\IP"));
39 $this->setExpectedException(
"Exception",
"access key not set");