ImboUnitTest\Exception\RuntimeExceptionTest::testSetAndGetImboErrorCode PHP Method

testSetAndGetImboErrorCode() public method

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