116
116
mtd::NullEventSink sender;
117
117
mtd::MockSurfaceFactory surface_factory;
118
ON_CALL(surface_factory, create_surface(_,_,_,_)).WillByDefault(Return(mock_surface));
118
ON_CALL(surface_factory, create_surface(_,_,_)).WillByDefault(Return(mock_surface));
120
EXPECT_CALL(surface_factory, create_surface(_, _, _, _));
120
EXPECT_CALL(surface_factory, create_surface(_, _, _));
122
122
mtd::MockSessionListener listener;
123
123
EXPECT_CALL(listener, surface_created(_, _)).Times(1);