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); }
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; }