Package net.buffalo.protocal.converters.basic

Examples of net.buffalo.protocal.converters.basic.LongConverter.unmarshal()


 
  }
 
  public void testCouldGetLong() throws Exception {
    LongConverter id = new LongConverter();
    Long d = (Long)id.unmarshal(TestUtils.createStreamReader("<long>710010098</long>"), null);
    assertEquals(new Long(710010098), d);
  }
 
  public void testCouldGetNull() throws Exception {
    NullConverter nd = new NullConverter();
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.