src/lib/fidl/c/walker_tests/llcpp_transaction_tests.cc
// It is not allowed to close then reply
It is not allowed to close then reply
It is not allowed to close then reply
TEST(LlcppTransaction, close_then_reply_asserts) {
  Transaction txn{};
  Completer completer(&txn);
  completer.Close(ZX_ERR_INVALID_ARGS);
  ASSERT_DEATH([&] { completer.Reply(1); }, "reply after close should crash");
}
TEST ( LlcppTransaction , close_then_reply_asserts ) { Transaction txn { } ; Completer completer ( & txn ) ; completer . Close ( ZX_ERR_INVALID_ARGS ) ; ASSERT_DEATH ( [ & ] { completer . Reply ( 1 ) ; } , " " ) ; }
It is not allowed to close then reply
It is not allowed to close then reply