transportActive and transportInactive
[folly.git] / folly / wangle / channel / test / OutputBufferingHandlerTest.cpp
index a0279666d543c52089ccd31356fd63af08cf705b..0fce791118eae344f35d5f9b17595b0eba616e7c 100644 (file)
@@ -42,8 +42,7 @@ TEST(OutputBufferingHandlerTest, Basic) {
 
   EventBase eb;
   auto socket = AsyncSocket::newSocket(&eb);
-  EXPECT_CALL(mockHandler, attachTransport(_));
-  pipeline.attachTransport(socket);
+  pipeline.setTransport(socket);
 
   // Buffering should prevent writes until the EB loops, and the writes should
   // be batched into one write call.