@@ -0,0 +1,768 @@
+package org.apache.gora.infinispan.store;%0A%0Aimport static org.junit.Assert.*;%0A%0Aimport java.io.IOException;%0A%0Aimport org.apache.gora.examples.generated.Employee;%0Aimport org.infinispan.client.hotrod.marshall.ApacheAvroMarshaller;%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0A%0Apublic class TestApacheAvroMarshaller %7B%0A%0A%09private ApacheAvroMarshaller marsh;%0A%09private Employee e1;%0A%09@Before%0A%09public void setUp() throws Exception %7B%0A%09%09marsh = new ApacheAvroMarshaller();%0A%09%09e1= new Employee();%0A%09%7D%0A%09%0A%09@Test%0A%09public void testMarshallEmployee() throws IOException, InterruptedException %7B%0A%09%09assertNotNull(marsh.objectToBuffer(e1));%0A%09%7D%0A%09%0A%09@Test%0A%09public void testMarshallString() throws IOException, InterruptedException %7B%0A%09%09assertNotNull(marsh.objectToByteBuffer(%22hello%22, 5));%0A%09%7D%0A%0A%7D%0A

test for ApacheAvroMarshaller