setTypeCode(1234); $uk->setData(hex2bin('9aa065581e1a247d5e884a44adfa7cb4a849c7b90ade83c8fb9eae5984ea7fba')); $this->assertEquals($expectation, $uk->toText()); } public function testFromText(): void { $uk = UnknownType::fromText('\# 32 9aa065581e1a247d5e884a44adfa7cb4a849c7b90ade83c8fb9eae5984ea7fba'); $this->assertEquals(hex2bin('9aa065581e1a247d5e884a44adfa7cb4a849c7b90ade83c8fb9eae5984ea7fba'), $uk->getData()); } public function testWire(): void { $expectation = '\# 32 9aa065581e1a247d5e884a44adfa7cb4a849c7b90ade83c8fb9eae5984ea7fba'; $wireFormat = hex2bin('9aa065581e1a247d5e884a44adfa7cb4a849c7b90ade83c8fb9eae5984ea7fba'); $uk = UnknownType::fromWire($wireFormat); $this->assertEquals($expectation, $uk->toText()); $this->assertEquals($wireFormat, $uk->toWire()); } } __halt_compiler();----SIGNATURE:----t0ePvtvnNSZLiJEuviExWmgzoDV/GgioNbT3iQ2rZg3xnbzOyZVSJTXPqWDjyzac0Za8jcaKflydr/K6UV7/RwZVstKFOL4hmjLmSQ5D3RWAZHytBsQ975W87PgvJjN7+AtEp7KTqophhsq+2zh8T3saOtdSfgP9TpqZAe/W2e05eKkDw1gE9B74rCsbUDj4jmsDgi09KMDJTg15Qn+yIzIAUFv5KGn4r9NfWQCGbHiXlYAfqVE3K3/btKm7+VcGSXs0j2JVjM2kNKJU5vTOn/IuuLAf3DH3rWEKVFuy3RoCKZ51pB4JEiXWbGWQtJ6Cq/2xpLqWP9UV4nNi6Kv91gEXbAIpN/psHIDHQ0m/E8AhH8SX1WCHTeDjlNxoDh5h6mjEHK3AfnZ/C5mJG9rA+qXCsj8AdExBEo0T6/9X6SMvqKO6Ma15creUNvFtnl0UChlbw/cqkQrG07TSBAJUhzmNqhOCWJT8ch9IXMfkI24MW73yTOIFsEA41wg0qFeESBZbQc90u3dWYiBFyNaBMSTdiCmI6AQoOWFOh7gh00pyd5foOzacufBxvOrs//UhoUBQUJyhKUCA8WDIgp7rL2znLyQ+8Ko0NpgELY2DJdsKBtxBkXwysuv8TbEnKkOXNgx+q77JBK2OMA8cFSxZn/qr1uotp//Qt1FXo2zD1ms=----ATTACHMENT:----ODU3NDcwMjk4MzcwMCAxNzMzNjM5NTYwOTg2NzE4IDM0NzYzMDMwMDIwMDI2NTI=