public function theConstructorSetsTheErrorCodeCorrectly() { $errorCode = 123456789; $error = new FlowError('', $errorCode); $this->assertEquals($errorCode, $error->getCode()); }