public void CodeBookValidateItemTest(string key, string value) { CodeBookReaderService service = new CodeBookReaderService(); CodeBookCollection source = service.Get(); bool flag = source.IsValidValue(key, value, out string message); Assert.True(flag, message); }
public void CodeBookFailedItemTest(string key, string value) { CodeBookReaderService service = new CodeBookReaderService(); CodeBookCollection source = service.Get(); bool flag = source.IsValidValue(key, value, out string message); Assert.False(flag); this.Output.WriteLine(message); }