@Test public void or() { assertFalse(Ack.NOK.or(Ack.NOK).isSuccess()); assertTrue(Ack.NOK.or(Ack.OK).isSuccess()); assertTrue(Ack.OK.or(Ack.NOK).isSuccess()); assertTrue(Ack.OK.or(Ack.OK).isSuccess()); }
public Ack or(Ack ack) { return validate(isSuccess() || ack.isSuccess()); }
Ack { public Ack or(Ack ack) { return validate(isSuccess() || ack.isSuccess()); } }
Ack { public Ack or(Ack ack) { return validate(isSuccess() || ack.isSuccess()); }  }
Ack { public Ack or(Ack ack) { return validate(isSuccess() || ack.isSuccess()); }  static Ack validate(boolean test); static Ack validate(Optional<?> optional); static Ack one(int count); Ack and(Ack ack); Ack or(Ack ack); }
Ack { public Ack or(Ack ack) { return validate(isSuccess() || ack.isSuccess()); }  static Ack validate(boolean test); static Ack validate(Optional<?> optional); static Ack one(int count); Ack and(Ack ack); Ack or(Ack ack); static final Ack OK; static final Ack NOK; }