mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-14 22:56:12 -04:00
Internal change
PiperOrigin-RevId: 362596467
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user