Package models

Examples of models.BasicInformation


  private static void addFamiliar(User internal) {
    User familiar = new User();
    familiar.username = "angela.martin";
    familiar.password = "test2012";
    familiar.access = true;
    BasicInformation basicInformation = new BasicInformation();
    familiar.basic_information = basicInformation;
    basicInformation.firstName = "Angela";
    basicInformation.lastName = "Martin";
    Response response = POST("/api/users/" + internal.id + "/familiars", "application/json", new Gson().toJson(familiar));
    assertStatus(StatusCode.CREATED, response);
View Full Code Here

TOP

Related Classes of models.BasicInformation

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.