@Test public void testDeserialize_withNullURI() throws Exception { assertNull(uriTypeAdapter.deserialize(JsonNull.INSTANCE, URI.class, deserializationContext)); }
@Test public void testDeserialize() throws Exception { JsonElement element = new JsonPrimitive("git://github.com/damiancarrillo/agave-web-framework.git"); assertEquals(uri, uriTypeAdapter.deserialize(element, URI.class, deserializationContext)); }