1059
1059
ON_CALL(*mock_icon, GetRemoteMenus()).WillByDefault(Invoke([&root] { return root; }));
1061
1061
if (GetParam() != "Quit")
1062
1063
ASSERT_FALSE(HasMenuItemWithLabel(mock_icon, GetParam()));
1064
1066
item = GetMenuItemWithLabel(mock_icon, "Quit");
1065
1067
ASSERT_NE(item, nullptr);