Пример #1
0
        public void ValidStringsAreAdded(string stringValue)
        {
            BilgeConfiguration bc = new BilgeConfiguration();

            bc.AddHandlerString(stringValue);

            Assert.Single(bc.HandlerStrings);
        }
Пример #2
0
        public void ApplyHandler_InvalidString_Blows()
        {
            BilgeConfiguration bc = new BilgeConfiguration();

            Assert.Throws <InvalidOperationException>(() => {
                bc.AddHandlerString("XXX");
            });
        }