Package net.sf.uadetector.internal.data.domain.Robot

Examples of net.sf.uadetector.internal.data.domain.Robot.Builder.build()


    builder.setName("n1");
    builder.setProducer("p1");
    builder.setProducerUrl("pu1");
    builder.setUserAgentString("uas1");

    final Robot r1 = builder.build();
    final Robot r2 = new Robot.Builder(r1).build();
    assertThat(r1.equals(r2)).isTrue();
    assertThat(r1.hashCode() == r2.hashCode()).isTrue();
  }
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.