Package models

Examples of models.Sample


      return check;
    }

    String name = jsonText("name");

    Sample m = new Sample();
    m.setName(name);
   
    Long key = dao.create(m);
    if (log.isDebugEnabled())
      log.debug("key : " + key);
View Full Code Here


    assertThat(res.getKey()).isEqualTo(42L);
  }

  @Test
  public void testCreate() {
    Sample entity = new Sample();
    entity.setName("test");
    setHttpContext(toJson(entity));
   
    Result result = controller.create();
   
    assertThat(result).isNotNull();
View Full Code Here

TOP

Related Classes of models.Sample

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.