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