Exemplo n.º 1
0
 public void NotNullOrEmpty_Fails_ForEmptyString()
 => Assert.Throws <DebugAssertFailedException>(() => Demand.NotNullOrEmpty(String.Empty));
Exemplo n.º 2
0
 public static void NotNullOrEmpty_Passes_ForNullString() => Demand.NotNullOrEmpty(null);
Exemplo n.º 3
0
 public static void NotNullOrEmpty_Passes_ForEmptyString() => Demand.NotNullOrEmpty(String.Empty);
Exemplo n.º 4
0
 public static void NotNullOrEmpty_Passes_ForNonNullOrEmptyString()
 => Demand.NotNullOrEmpty("value");