public void TestSendHttp() { Execute.Utils utils = new Execute.Utils(); utils.Ctor(); Task <RetObject> t = utils.SendHttp(project_uri); Assert.IsInstanceOfType(t, typeof(Task <RetObject>)); RetObject r = t.Result; Assert.IsTrue(r.HttpResponseMessage.StatusCode.Equals(HttpStatusCode.OK)); }
public void MakeUtils() { Execute.Utils utils = new Execute.Utils(); utils.Ctor(); Assert.IsInstanceOfType(utils, typeof(Execute.Utils)); }