@@ -0,0 +1,873 @@
+package it.near.sdk.morpheusnear;%0A%0Aimport com.google.common.collect.Maps;%0A%0Aimport org.junit.Test;%0Aimport org.junit.runner.RunWith;%0Aimport org.junit.runners.JUnit4;%0A%0Aimport java.util.Date;%0Aimport java.util.List;%0Aimport java.util.Map;%0A%0Aimport static org.hamcrest.Matchers.is;%0Aimport static org.junit.Assert.assertThat;%0A%0A@RunWith(JUnit4.class)%0Apublic class MorphUtilTest %7B%0A%0A    @Test%0A    public void shouldBuildProperMorpheus() %7B%0A        Map%3CString, Class%3E map = Maps.newHashMap();%0A        map.put(%22string%22, String.class);%0A        map.put(%22long%22, Long.class);%0A        map.put(%22date%22, Date.class);%0A        map.put(%22list%22, List.class);%0A%0A        Deserializer.setRegisteredClasses(Maps.%3CString, Class%3EnewHashMap());%0A        Morpheus morpheus = MorphUtil.buildMorpheusFrom(map);%0A%0A        assertThat(morpheus.getFactory().getDeserializer().getRegisteredClasses(), is(map));%0A    %7D%0A%0A%7D

test morpheus util