public void BeforeTest()
        {
            var mockInput = new GameObject().AddComponent <MockInputComponent>();

            mockInput.gameObject.AddComponent <TestGameInstance>().TestAwake();

            _companion = new GameObject().AddComponent <TestCompanionComponent>();
            _companion.PowerCooldownTime       = 2.0f;
            _companion.DefaultDialogueEntry    = "TestEntry";
            _companion.DialogueEntries         = ScriptableObject.CreateInstance <DialogueData>();
            _companion.CompanionUIIcon         = Resources.Load <Sprite>(SpritePath);
            _companion.MaxPowerCharges         = 3;
            _companion.CompanionAssetReference = "AssetReference";

            _companion.DialogueEntries.DialogueEntries = new List <DialogueEntry>
            {
                new DialogueEntry {
                    DialogueEntryKey = _companion.DefaultDialogueEntry, ChatterType = EEventOfInterestType.OneShot, Lines = new List <DialogueLineEntry>(), Priority = 2
                },
                new DialogueEntry {
                    DialogueEntryKey = "Blah"
                }
            };

            _companion.TestAwake();
        }
        public void CanUseCompanionPower_UnlimitedCharges_True()
        {
            _companion.SetLeader(new GameObject());
            _companion.CanUseCompanionPowerImplResult = true;
            _companion.MaxPowerCharges = CompanionConstants.UnlimitedCharges;
            _companion.TestAwake();

            Assert.IsTrue(_companion.CanUseCompanionPower());
        }