def testGetPreferredNetworksNoUserNetworks(self):
    self.mox.StubOutWithMock(wifi_network_order.gmacpyutil, 'MachineInfoForKey')
    wifi_network_order.gmacpyutil.MachineInfoForKey(
        'PreferredNetworks').AndReturn(None)
    self.mox.ReplayAll()
    self.assertEqual(wifi_network_order._SSIDS,
                     wifi_network_order.GetPreferredNetworks())
    self.mox.VerifyAll()
Test GetPreferredNetworks with no user defined networks.
dataset/ETHPy150Open google/macops/gmacpyutil/gmacpyutil/wifi_network_order_test.py/WifiNetworkOrderModuleTest.testGetPreferredNetworksNoUserNetworks