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