public void ClassifyImageNoStore() { using (MockContext context = MockContext.Start(this.GetType())) { HttpMockServer.Initialize(this.GetType(), "ClassifyImageNoStore", RecorderMode); ICustomVisionPredictionClient client = GetPredictionClientClient(); using (FileStream stream = new FileStream(Path.Combine("TestImages", "test_image.jpg"), FileMode.Open)) { ImagePrediction results = client.ClassifyImageWithNoStore(ClassificationProjectId, ClassificationPublishedName, stream); ValidateResults(results); } } }