Assert.assertTrue(output.has(exceptionOutput));
[error] but: Not matched: "abcd", took 4.712 sec
[error] at org.apache.beam.sdk.testing.PAssert$PAssertionSite.capture(<em
为了进一步简化单元测试,直到它生效为止,单元测试将只接收一个字符串作为输入,如果输出是某个字符串,则进行测试。$PAssertionSite.capture(PAssert.java:169) at org.apache.beam.sdk.testing.PAssert$CheckRelationAgai