public function testGetActionException() { try { $this->request->getAction(); } catch (RequestException $exception) { $this->assertSame('Warmer name is not set', $exception->getMessage()); return; } $this->fail(); }