Examples of Morpher


Examples of net.sf.ezmorph.Morpher

   * Test method for
   * {@link org.apache.shindig.social.core.util.JsonObjectToMapMorpher#morphsTo()}.
   */
  @Test
  public void testMorphsTo() {
    Morpher m = new JsonObjectToMapMorpher();
    assertEquals(Map.class, m.morphsTo());
  }
View Full Code Here

Examples of net.sf.ezmorph.Morpher

   * Test method for
   * {@link org.apache.shindig.social.core.util.JsonObjectToMapMorpher#supports(java.lang.Class)}.
   */
  @Test
  public void testSupports() {
    Morpher m = new JsonObjectToMapMorpher();
    assertTrue(m.supports(JSONObject.class));
    assertFalse(m.supports(JSON.class));
    assertFalse(m.supports(List.class));
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.