void Awake() { DontDestroyOnLoad(this); //MyLogger logger = new MyLogger(); UnityAnalyticsManager analytics = new UnityAnalyticsManager(new MyUnityAnalytics()); InfoPopupManager popupManager = new InfoPopupManager(); OutOfSyncManager outOfSyncManager = new OutOfSyncManager(); }
public void BeforeTests() { mManager = Substitute.ForPartsOf <InfoPopupManager>(); mManager.When(x => x.CreatePopup(Arg.Any <QueuedInfoPopupData>())).DoNotCallBase(); }