Package jodd.json.mock

Examples of jodd.json.mock.Friend


    assertAttribute("description", json);
  }

  @Test
  public void testSettersWithoutGettersAreMissing() {
    Friend friend = new Friend("Nugget", "Donkey Rider", "Slim");
    String json = new JsonSerializer().include("*").serialize(friend);
    assertAttribute("nicknames", json);
    assertAttributeMissing("nicknamesAsArray", json);
  }
View Full Code Here

TOP

Related Classes of jodd.json.mock.Friend

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.