Ejemplo n.º 1
0
        public void ThrowExceptionWhenNullInput()
        {
            CommonChars commonChars = new CommonChars();

            Assert.Throws <ArgumentNullException>(() => commonChars.FindCommonChars(null, null),
                                                  "Input strings can not be null");
        }
Ejemplo n.º 2
0
        public string Test(string a, string b)
        {
            CommonChars commonChars = new CommonChars();

            return(commonChars.FindCommonChars(a, b));
        }