### Question:
EventSerializerGson implements EventSerializer { @Override @Lock(LockType.READ) public List<? extends Serializable> deserialize(String body) { if (body == null) throw new IllegalArgumentException("body must not be null"); log.log(Level.FINER, "deserializing body: " + body); return this.gson.fromJson(body, EventList.class).events(); }  @PostConstruct void init(); @Override @Lock(LockType.READ) String serialize(List<? extends Serializable> events); @Override @Lock(LockType.READ) List<? extends Serializable> deserialize(String body); static GsonBuilder createBuilder();  }### Answer:
@Test public void testDeserialize() { List<String> objs = instance(); List<? extends Serializable> res = serializer.deserialize(EXPECTED); assertEquals(res, objs); }