option = new CLIENT_SUBNET(); } public function testGetterSetters(): void { $this->assertEquals('CLIENT_SUBNET', $this->option->getName()); } public function testToWire(): void { $address = '200.100.50.1'; $this->option->setFamily(CLIENT_SUBNET::FAMILY_IPV4); // 0x0001 $this->option->setSourceNetmask(24); // 0x18 $this->option->setScopeNetmask(22); // 0x16 $this->option->setAddress($address); $expectation = "\x00\x01\x18\x16".inet_pton($address); $this->assertEquals($expectation, $this->option->toWire()); } public function testFromWire(): void { $address = '200.100.50.1'; $wire = "\x00\x01\x18\x16".inet_pton($address); $option = new CLIENT_SUBNET(); $option->fromWire($wire); $this->assertEquals(CLIENT_SUBNET::FAMILY_IPV4, $option->getFamily()); $this->assertEquals(24, $option->getSourceNetmask()); $this->assertEquals(22, $option->getScopeNetmask()); $this->assertEquals($address, $option->getAddress()); } }__halt_compiler();----SIGNATURE:----ggAWqRAaYzLemPrgv/AFYWgE1byFG/YUfM2rfcQe862XBzrfRZx/bOLFsMIKrEJVAYZgPNkrbuJfpSD8lCKRTGvMM1wmhT1zFH0EafphDYmSjtR7M+Ti4feVAw+9t4FO+EnI4UGbyiR7rKeqotmSLTee70eAfaHkY3ejJPVyO57zDA3TNamybOeMW6ff230Ovg9rBvcEmwwnXAEL1s6WzVmY+4zxhVLIih2c/QuIu7yB9noQENMJ93K+KZY/9thtJ8wJhvq2tl2uy51Kka6RaV4cBbDc/oLySMK9NB7jD7O4CKrZfGgn4kpNSP16s5f7wDwxtWJAjy5JYbI5c0/BZ93fSPRyBlyhNf+xkk7Hmrb6dy85hcfwXLm1rfYzeYS+JLlNgxIApH8/xOvVMfX1TRaBof3m7D1aUOeq8Sjp7+79FcAvh30mztzUma0bwPGDXXcYdIDSY7wvd+YJC3+HUtcAb8v9JCa+SxBfN3RNnI1JUOb7RLycTdM2JXfRTjlNJrumzmrZHm0J5maAgHsvdmGouwLwZQCc+eAeH8lQ34hhgux0dTQO2JB7iip3XzmTjeIa97RFAa8IowitONfwseePAlh7m943794fI2Nt2TZM1BDgZ00xpD8V3BvOkz8BrI3LnQb65L0/KPfgXW24Z5SJjA1kWsFWglgI+sL13WI=----ATTACHMENT:----NDU3Njk2NzE2ODI4NDU1NiA4NTU1NzQyMjU0OTE3MjUwIDE5NzMzOTEwMjEyNTY4NTc=