Package com.linkedin.pegasus.generator.test

Examples of com.linkedin.pegasus.generator.test.Union


  public void testUnion()
  {
    final Object result;

    result = test("{\"string\": \"String in union\"}", Union.class);
    final Union fixture = new Union();
    fixture.setString("String in union");
    Assert.assertEquals(result, fixture);
    Assert.assertSame(result.getClass(), Union.class);
  }
View Full Code Here

TOP

Related Classes of com.linkedin.pegasus.generator.test.Union

Copyright © 2018 www.massapicom. 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.