@Test public void testSerialize_withNull() throws Exception { assertNullElement(uriTypeAdapter.serialize(null, URI.class, serializationContext)); }
@Test public void testSerialize() throws Exception { JsonElement element = uriTypeAdapter.serialize(uri, URI.class, serializationContext); assertEquals( new JsonPrimitive("git://github.com/damiancarrillo/agave-web-framework.git"), element); }