Beispiel #1
0
        public void Should_ToString_StringEventArgs()
        {
            var test  = new StringEventsArgs("test").ToString();
            var test2 = new StringEventsArgs(null).ToString();

            Assert.True("test" == test);
            Assert.True(string.Empty == test2);
        }
Beispiel #2
0
 private void HearHim(object sender, StringEventsArgs e)
 {
     _logger.Arrow();
     _logger.Log(e.ToString());
 }