use of io.codekvast.javaagent.model.v2.InvocationDataPublication2 in project codekvast by crispab.
the class PublicationV2DeserializationTest method should_deserialize_invocationsV2_file.
@Test
public void should_deserialize_invocationsV2_file() throws IOException, ClassNotFoundException {
ObjectInputStream ois = new ObjectInputStream(new BufferedInputStream(getClass().getResourceAsStream(INVOCATIONS_RESOURCE)));
InvocationDataPublication2 publication = (InvocationDataPublication2) ois.readObject();
assertThat(publication, isA(InvocationDataPublication2.class));
}
Aggregations