@@ -0,0 +1,410 @@
+package unit;%0A%0Aimport static org.junit.Assert.*;%0Aimport mock.domains.Dog;%0A%0Aimport org.junit.Test;%0A%0Aimport com.github.aesteve.vertx.nubes.marshallers.Payload;%0A%0Apublic class PayloadTest %7B%0A%09@Test%0A%09public void testPayloadType() %7B%0A%09%09Payload%3CDog%3E payload = new Payload%3C%3E();%0A%09%09assertEquals(Void.class, payload.getType());%0A%09%09payload.set(new Dog(%22Snoopy%22, %22Beagle%22));%0A%09%09assertEquals(Dog.class, payload.getType());%0A%09%7D%0A%7D%0A

test payload