public void UnauthorizedCore() { BaseAPI baseObj = new BaseAPI(Helper.GetUserName(), Helper.GetPassword(), Helper.GetCoreID() + "00"); // test we can access the core by asking its name Assert.AreEqual(baseObj.GetCoreInfo().Name, Helper.GetCoreName()); }
public void CreateWithIDAndPassword() { BaseAPI baseObj = new BaseAPI(Helper.GetUserName(), Helper.GetPassword(), Helper.GetCoreID()); // test we can access the core by asking its name Assert.AreEqual(baseObj.GetCoreInfo().Name, Helper.GetCoreName()); }