@@ -0,0 +1,1024 @@
+package com.kryptnostic.kodex.v1.serialization.jackson;%0A%0Aimport java.io.IOException;%0A%0Aimport org.junit.Assert;%0Aimport org.junit.Test;%0A%0Aimport com.fasterxml.jackson.databind.ObjectMapper;%0Aimport com.kryptnostic.crypto.EncryptedSearchPrivateKey;%0Aimport com.kryptnostic.linear.EnhancedBitMatrix.SingularMatrixException;%0A%0Apublic class EncryptedSearchPrivateKeyTests %7B%0A%0A    @Test%0A    public void roundtripTest() throws IOException, SingularMatrixException %7B%0A        EncryptedSearchPrivateKey key = new EncryptedSearchPrivateKey( 8 );%0A%0A        ObjectMapper mapper = KodexObjectMapperFactory.getObjectMapper();%0A        String serialized = mapper.writeValueAsString( key );%0A%0A        Assert.assertNotNull( serialized );%0A%0A        EncryptedSearchPrivateKey recovered = mapper.readValue( serialized, EncryptedSearchPrivateKey.class );%0A        Assert.assertEquals( key.getLeftSquaringMatrix(), recovered.getLeftSquaringMatrix() );%0A        Assert.assertEquals( key.getRightSquaringMatrix(), recovered.getRightSquaringMatrix() );%0A    %7D%0A%0A%7D%0A

add ESPK test