ImboUnitTest\Exception\RuntimeExceptionTest::testSetAndGetImboErrorCode PHP Méthode

testSetAndGetImboErrorCode() public méthode

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