diff --git a/ReactCommon/react/test_utils/MockSurfaceHandler.h b/ReactCommon/react/test_utils/MockSurfaceHandler.h index ce3d1500125..3563c699109 100644 --- a/ReactCommon/react/test_utils/MockSurfaceHandler.h +++ b/ReactCommon/react/test_utils/MockSurfaceHandler.h @@ -18,8 +18,8 @@ class MockSurfaceHandler : public SurfaceHandler { public: MockSurfaceHandler() : SurfaceHandler("moduleName", 0){}; - MOCK_QUALIFIED_METHOD1(setDisplayMode, const noexcept, void(DisplayMode)); - MOCK_QUALIFIED_METHOD0(getSurfaceId, const noexcept, SurfaceId()); + MOCK_METHOD(void, setDisplayMode, (DisplayMode), (const, noexcept)); + MOCK_METHOD(SurfaceId, getSurfaceId, (), (const, noexcept)); }; } // namespace react