public void ReturnsTrueIfCodeIsNotPresent() { var errors = new List <ResultError <Lalala> >(); errors.Add(new ResultError <Lalala>(Lalala.One, Strings.ResourceManager)); Assert.IsTrue(ResultErrorExtensions.ContainsError(errors, Lalala.One)); }
public void ThrowsIfArg0IsNull() { ResultErrorExtensions.Add(default(IList <ResultError <Lalala> >), Lalala.Many, Strings.ResourceManager); }
public void ThrowsIfArg0IsNull() { ResultErrorExtensions.ContainsError(default(IList <ResultError <Lalala> >), Lalala.Many); }