public void NumberOf_NullSource_ThrowsException()
        {
            string sSource            = null;
            char   characterToTestFor = 'X';

            Assert.Throws(typeof(ArgumentNullException), () => StringLib.NumberOf(sSource, characterToTestFor));
        }
        public void NumberOf_XCommaY_Comma_Return1()
        {
            string sSource            = "X, Y";
            char   characterToTestFor = ',';
            int    n = StringLib.NumberOf(sSource, characterToTestFor);

            Assert.AreEqual(1, n);
        }
        public void NumberOf_XCommaY_Semicolon_Return0()
        {
            string sSource            = "X, Y";
            char   characterToTestFor = ';';
            int    n = StringLib.NumberOf(sSource, characterToTestFor);

            Assert.AreEqual(0, n);
        }
        public void NumberOf_X_Return0()
        {
            string sSource            = "X";
            char   characterToTestFor = 'A';
            int    n = StringLib.NumberOf(sSource, characterToTestFor);

            Assert.AreEqual(0, n);
        }
        public void NumberOf_AAA_Return3()
        {
            string sSource            = "AAA";
            char   characterToTestFor = 'A';
            int    n = StringLib.NumberOf(sSource, characterToTestFor);

            Assert.AreEqual(3, n);
        }
        public void NumberOf_1_ValidResult()
        {
            string sSource            = "ABCD";
            char   characterToTestFor = 'A';
            int    n = StringLib.NumberOf(sSource, characterToTestFor);

            Assert.AreEqual(1, n);
        }