| @@ 223-229 (lines=7) @@ | ||
| 220 | * @throws UnsetValueException |
|
| 221 | * @throws \Exception |
|
| 222 | */ |
|
| 223 | public function testWire5(): void |
|
| 224 | { |
|
| 225 | $expectation = $this->getWireTestData(5); |
|
| 226 | $msg = Message::fromWire($this->getWireTestData(1)); |
|
| 227 | ||
| 228 | $this->assertEquals($expectation, $msg->toWire()); |
|
| 229 | } |
|
| 230 | ||
| 231 | /** |
|
| 232 | * @throws UnsetValueException |
|
| @@ 236-242 (lines=7) @@ | ||
| 233 | * @throws UnsupportedTypeException |
|
| 234 | * @throws \Exception |
|
| 235 | */ |
|
| 236 | public function testWire6(): void |
|
| 237 | { |
|
| 238 | $expectation = $this->getWireTestData(6); |
|
| 239 | $msg = Message::fromWire($this->getWireTestData(4)); |
|
| 240 | ||
| 241 | $this->assertEquals($expectation, $msg->toWire()); |
|
| 242 | } |
|
| 243 | ||
| 244 | /** |
|
| 245 | * @throws UnsupportedTypeException |
|