public function testClone() { $this->expectException(\LogicException::class); $clone = clone $this->rpc; }