Internal change

PiperOrigin-RevId: 362596467
This commit is contained in:
hai007
2021-03-12 14:03:56 -08:00
committed by Copybara-Service
parent 7867a4a8ca
commit 779c4e41af
@@ -258,6 +258,8 @@ TEST_F(EndpointManagerTest, SingleReadOnInvalidPayload) {
EXPECT_CALL(*endpoint_channel, Read())
.WillOnce(
Return(ExceptionOr<ByteArray>(Exception::kInvalidProtocolBuffer)));
EXPECT_CALL(*endpoint_channel, Write(_))
.WillRepeatedly(Return(Exception{Exception::kSuccess}));
EXPECT_CALL(*endpoint_channel, Close(_)).Times(1);
RegisterEndpoint(std::move(endpoint_channel));
}