public void CanNotParse(string inputLanguage) { var adapter = new LanguageTypeAdapter(); var result = adapter.Parse(inputLanguage); Assert.Null(result); }
public void CanParse(string inputLanguage, string expectedId, string firstLine) { var adapter = new LanguageTypeAdapter(); var result = adapter.Parse(inputLanguage, firstLine); Assert.Equal(expectedId, result.Id); }