@Test public void test_clone() { assertThat(this.builder.isValid()).isTrue(); fillDummy(this.builder); PKEventTicket pass = (PKEventTicket) this.builder.build(); PKEventTicket clone = (PKEventTicket) PKEventTicket.builder(pass).build(); assertThat(clone).isNotNull() .isNotSameAs(pass) .isEqualToComparingFieldByFieldRecursively(pass); }
public static PKGenericPassBuilder builder() { return new PKGenericPassBuilder(PKPassType.PKEventTicket); }
PKEventTicket extends PKGenericPass { public static PKGenericPassBuilder builder() { return new PKGenericPassBuilder(PKPassType.PKEventTicket); } }
PKEventTicket extends PKGenericPass { public static PKGenericPassBuilder builder() { return new PKGenericPassBuilder(PKPassType.PKEventTicket); } protected  PKEventTicket(); }
PKEventTicket extends PKGenericPass { public static PKGenericPassBuilder builder() { return new PKGenericPassBuilder(PKPassType.PKEventTicket); } protected  PKEventTicket(); static PKGenericPassBuilder builder(); }
PKEventTicket extends PKGenericPass { public static PKGenericPassBuilder builder() { return new PKGenericPassBuilder(PKPassType.PKEventTicket); } protected  PKEventTicket(); static PKGenericPassBuilder builder();  }