public IEnumerator InventoryUIControllerOnEquipedSelectTest()
        {
            game      = MonoBehaviour.Instantiate(Resources.Load <GameObject>("Game"));
            inventory = GameObject.FindObjectOfType <InventoryUIController>();
            yield return(new WaitForSecondsRealtime(1f));

            var db = Camera.main.GetComponent <DataBase>();

            inventory.Inventory.Items[12] = db.Swords[0];
            inventory.OnInventoryOpen();
            yield return(new WaitForSecondsRealtime(1f));

            inventory.OnEquipedSelect(GameObject.Find("Canvas").transform.Find("Inventory").transform.Find("Equiped").Find("WeaponCell").gameObject);
            yield return(new WaitForSecondsRealtime(1f));

            Assert.IsFalse(inventory.UseButton.interactable);
            Assert.IsTrue(inventory.DropButton.isActiveAndEnabled);
            Assert.IsFalse(inventory.EquipButton.interactable);
            Assert.IsTrue(inventory.TakeOffButton.isActiveAndEnabled);
        }
        public IEnumerator InventoryUIControllerOnItemRemoveTest()
        {
            game      = MonoBehaviour.Instantiate(Resources.Load <GameObject>("Game"));
            inventory = GameObject.FindObjectOfType <InventoryUIController>();
            yield return(new WaitForSecondsRealtime(1f));

            var db = Camera.main.GetComponent <DataBase>();

            inventory.Inventory.Items[12] = db.Swords[0];
            inventory.OnInventoryOpen();
            yield return(new WaitForSecondsRealtime(1f));

            var cell = GameObject.Find("Canvas").transform.Find("Inventory").transform.Find("Equiped").Find("WeaponCell").gameObject;

            inventory.OnEquipedSelect(cell);
            yield return(new WaitForSecondsRealtime(0.5f));

            inventory.OnItemRemove();
            yield return(new WaitForSecondsRealtime(0.5f));

            var item = cell.transform.Find("Button").GetComponent <Button>();

            Assert.IsFalse(item.isActiveAndEnabled);
        }