public void Object_Manager_Test_Load_Card_A_GUI() { // Use the Assert class to test conditions int cardID = 1; manager = freshManager; CardLoader loader = new GameObject().AddComponent <CardLoader>(); CardLoader.SetInstance(loader); loader.loadCards(); manager.LoadCardAGUI(cardID); Assert.AreEqual(true, manager.PlayerACardGui.enabled); }