@@ 139-145 (lines=7) @@ | ||
136 | * @throws UnsupportedTypeException |
|
137 | * @throws \Exception |
|
138 | */ |
|
139 | public function testWire2(): void |
|
140 | { |
|
141 | $data = $this->getWireTestData(2); |
|
142 | $msg = Message::fromWire($data); |
|
143 | ||
144 | $this->assertInstanceOf(Message::class, $msg); |
|
145 | } |
|
146 | ||
147 | /** |
|
148 | * @throws UnsupportedTypeException |
|
@@ 151-157 (lines=7) @@ | ||
148 | * @throws UnsupportedTypeException |
|
149 | * @throws \Exception |
|
150 | */ |
|
151 | public function testWire3(): void |
|
152 | { |
|
153 | $data = $this->getWireTestData(3); |
|
154 | $msg = Message::fromWire($data); |
|
155 | ||
156 | $this->assertInstanceOf(Message::class, $msg); |
|
157 | } |
|
158 | ||
159 | /** |
|
160 | * @throws UnsupportedTypeException |