/** * @expectedException Everypay\Exception\RuntimeException * @expectedExceptionMessage You must set first an API key. * @group ecommerce * @group 3dsecure */ public function testThrowExceptionForApiKeys() { Everypay::reset(); $key = Everypay::getApiKey(); }