Package com.kurento.tool.rom.test.model

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


  }

  @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

Related Classes of com.kurento.tool.rom.test.model.Sample2$Builder

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.