class TransportOrderFilter implements Predicate<TransportOrder> {

  @Override
  public boolean test(TransportOrder transportOrder) {
    boolean accept = true;

    if (intendedVehicle != null
        && intendedVehicleDiffers(transportOrder.getIntendedVehicle())) {
      accept = false;
    }
    return accept;
  }

  public  TransportOrderFilter(String intendedVehicle);

}