public void ShouldReturnListOfVerbs() { var verbList = AstVisitorExplainer.GetApprovedVerbs(); Assert.That(verbList.Contains("Get")); Assert.That(verbList.Contains("Convert")); Assert.That(verbList.Contains("Enable")); Assert.That(verbList.Count > 90); // there are ~100 approved verbs }
public void Setup() { var mockILogger = new LoggerDouble <LogEntry>(); var tableClient = new TableClient( "AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;DefaultEndpointsProtocol=http;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;QueueEndpoint=http://127.0.0.1:10001/devstoreaccount1;TableEndpoint=http://127.0.0.1:10002/devstoreaccount1;", "HelpData"); explainer = new( extentText : string.Empty, client : tableClient, log : mockILogger, tokens : null); }