@Test
public void discoveredFraudTest() {

    FunctionTestHarness harness = FunctionTestHarness.test(ignore -> new TransactionManager(), MANAGER_FN, "id");
    harness.invoke(TRANSACTION);
    Assert.assertThat(harness.invoke(Any.pack(FraudScore.newBuilder().setScore(81).build())), sentNothing());
    Assert.assertThat(harness.getEgress(ALERT), contains(equalTo(TRANSACTION)));
}