@Override public void receive(IN record) throws Exception { verifier.receive(translate(record)); }
private boolean feedVerifier(byte[] bytes) throws IOException, FlinkTestFailedException { OUT elem = SerializeUtil.deserialize(bytes, typeSerializer); numRecords++; try { verifier.receive(elem); } catch (Exception e) { throw new FlinkTestFailedException(e); } return trigger.onRecord(elem) || trigger.onRecordCount(numRecords); }