Search in sources :

Example 1 with CodeBaseEntry

use of io.codekvast.javaagent.model.v1.CodeBaseEntry in project codekvast by crispab.

the class CodeBaseEntry2Test method should_transform_from_v1_format.

@SuppressWarnings("deprecation")
@Test
public void should_transform_from_v1_format() {
    CodeBaseEntry e1 = CodeBaseEntry.sampleCodeBaseEntry();
    CodeBaseEntry2 e2 = CodeBaseEntry2.sampleCodeBaseEntry();
    assertThat(CodeBaseEntry2.fromV1Format(e1), is(e2));
}
Also used : CodeBaseEntry(io.codekvast.javaagent.model.v1.CodeBaseEntry) CodeBaseEntry2(io.codekvast.javaagent.model.v2.CodeBaseEntry2) Test(org.junit.Test)

Aggregations

CodeBaseEntry (io.codekvast.javaagent.model.v1.CodeBaseEntry)1 CodeBaseEntry2 (io.codekvast.javaagent.model.v2.CodeBaseEntry2)1 Test (org.junit.Test)1