示例#1
0
        public void GetByPathTest()
        {
            // TODO uncomment below to test the method and replace null with proper value
            string path           = Constants.AF_ANALYSIS_PATH;
            string selectedFields = null;
            var    response       = instance.GetByPath(path, selectedFields);

            Assert.IsInstanceOf <PIAnalysis>(response, "response is PIAnalysis");
            Assert.IsTrue(response.Name == Constants.AF_ANALYSIS_NAME);
        }
示例#2
0
        public void Init()
        {
            base.CommonInit();
            instance = client.Analysis;
            base.CreateSampleDatabaseForTests();

            string path           = Constants.AF_ANALYSIS_PATH;
            string selectedFields = null;

            webId = instance.GetByPath(path, selectedFields).WebId;
        }