public function testSetAndGetImboErrorCode($actual, $expected) { $exception = new RuntimeException(); $this->assertSame($exception, $exception->setImboErrorCode($actual)); $this->assertSame($expected, $exception->getImboErrorCode()); }