Examples of Sample2


Examples of com.kurento.tool.rom.test.model.Sample2

  }

  @Test
  public void initObject() {

    Sample2 obj = factory.getFactory(Sample2.Factory.class)
        .create("XXX", 33).withAtt3(0.5f).att4().build();

    String att1 = obj.getAtt1();
    int att2 = obj.getAtt2();
    float att3 = obj.getAtt3();
    boolean att4 = obj.getAtt4();

    assertEquals(att1, "XXX");
    assertEquals(att2, 33);
    assertEquals(att3, 0.5f, 0.01);
    assertEquals(att4, true);
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.