Combined illTyped.apply and .withExpectation thanks to a hint from @xeno_by.