text: /* This Source Code Form is subject to the terms of the Mozilla Public
   * License, v. 2.0. If a copy of the MPL was not distributed with this
   * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  
  #include "testnetworkmanager.h"
  #include "../../src/featurelist.h"
  #include "../../src/settingsholder.h"
  #include "../../src/simplenetworkmanager.h"
  #include "helper.h"
  
  void TestNetworkManager::basic() {
    SimpleNetworkManager snm;
    SettingsHolder settingsHolder;
    FeatureList::instance()->initialize();
    QCOMPARE(&snm, NetworkManager::instance());
    QVERIFY(snm.userAgent().contains("MozillaVPN"));
    QCOMPARE(snm.networkAccessManager(), snm.networkAccessManager());
  }
  
  static TestNetworkManager s_testNetworkManager;
  