public function testApiGetCode_ReturnsCode()
{
$mock = new ThrowableMock();
$proxy = $this->getMock(ThrowableProxy::class, ['toThrowable'], [], '', false);
$proxy->expects($this->once())->method('toThrowable')->will($this->returnValue($mock));
$this->assertSame($mock->getCode(), $proxy->getCode());
}