Package net.buffalo.protocal.io

Examples of net.buffalo.protocal.io.DefaultUnmarshallingContext.convertAnother()


public class DeserializerTest extends TestCase {
 
  public void testShouldGetCorrectType() throws Exception {
    StreamReader streamReader = TestUtils.createStreamReader("<buffalo-call><string>hi</string></buffalo-call>");
    UnmarshallingContext des = new DefaultUnmarshallingContext(new DefaultConverterLookup(), streamReader);
    Object o = des.convertAnother();
    assertEquals("hi", o);
  }
}
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.