public function testExceptionGettersSetter() { $exception = new \Exception(); $responseContainer = new ResponseModel(); $responseContainer->setException($exception); $this->assertEquals($exception, $responseContainer->getException()); }