### Question:
SubscribedMessage extends WampMessage { public static SubscribedMessage deserialize(JsonParser jp) throws IOException { jp.nextToken(); long request = jp.getLongValue(); jp.nextToken(); long subscription = jp.getLongValue(); return new SubscribedMessage(request, subscription); } SubscribedMessage(long requestId, long subscriptionId);  SubscribedMessage(SubscribeMessage subscribeMessage, long subscriptionId); static SubscribedMessage deserialize(JsonParser jp); @Override void serialize(JsonGenerator generator); long getRequestId(); long getSubscriptionId(); @Override String toString();  }### Answer:
@Test public void deserializeTest() throws IOException { String json = "[33, 713845233, 5512315355]"; SubscribedMessage subscribedMessage = WampMessage.deserialize(getJsonFactory(), json.getBytes(StandardCharsets.UTF_8)); assertThat(subscribedMessage.getCode()).isEqualTo(33); assertThat(subscribedMessage.getRequestId()).isEqualTo(713845233L); assertThat(subscribedMessage.getSubscriptionId()).isEqualTo(5512315355L); }