Exemplo n.º 1
0
 public static void Text_GivenNullText_ThrowsArgNullException()
 {
     Assert.Throws <ArgumentNullException>(() => FabulousTextExtensions.Text(null, string.Empty));
 }
Exemplo n.º 2
0
        public static void Background_NullText_ThrowsArgNullException()
        {
            var color = Mock.Of <IColor>();

            Assert.Throws <ArgumentNullException>(() => FabulousTextExtensions.Background(null, color));
        }