### Question:
PaymentConfigurationDigitalProductFilter implements PaymentConfigurationFilter { @Override public boolean isValid(WirecardPaymentConfigurationModel configuration, AbstractOrderModel order) { return restrictionDisabled(configuration) || physicalProductOnly(order); }  @Override boolean isValid(WirecardPaymentConfigurationModel configuration, AbstractOrderModel order);  }### Answer:
@Test public void test() { assertEquals(expected, paymentConfigurationDigitalProductFilter.isValid(configuration, cart)); }