Пример #1
0
 /// <summary>
 /// Builds an instance of <see cref="Constraint"/> that tests whether the actual
 /// value does not have the provided <paramref name="millisecond"/>.
 /// </summary>
 /// <param name="entry">Extension entry point.</param>
 /// <param name="millisecond">Expected property of the current date.</param>
 /// <returns>Instance built.</returns>
 public static Constraint Millisecond(this Must.NotHaveEntryPoint entry, uint millisecond)
 {
     return(Has.Property("Millisecond").Not.EqualTo(millisecond));
 }
Пример #2
0
 /// <summary>
 /// Builds an instance of <see cref="Constraint"/> that tests whether the actual
 /// value does not have the provided <paramref name="hour"/>.
 /// </summary>
 /// <param name="entry">Extension entry point.</param>
 /// <param name="hour">Expected property of the current date.</param>
 /// <returns>Instance built.</returns>
 public static Constraint Hour(this Must.NotHaveEntryPoint entry, uint hour)
 {
     return(Has.Property("Hour").Not.EqualTo(hour));
 }
Пример #3
0
 /// <summary>
 /// Builds an instance of <see cref="Constraint"/> that tests whether the actual
 /// value does not have the provided <paramref name="minute"/>.
 /// </summary>
 /// <param name="entry">Extension entry point.</param>
 /// <param name="minute">Expected property of the current date.</param>
 /// <returns>Instance built.</returns>
 public static Constraint Minute(this Must.NotHaveEntryPoint entry, uint minute)
 {
     return(Has.Property("Minute").Not.EqualTo(minute));
 }
Пример #4
0
 /// <summary>
 /// Builds an instance of <see cref="Constraint"/> that tests whether the actual
 /// value does not have the provided <paramref name="day"/>.
 /// </summary>
 /// <param name="entry">Extension entry point.</param>
 /// <param name="day">Expected property of the current date.</param>
 /// <returns>Instance built.</returns>
 public static Constraint Day(this Must.NotHaveEntryPoint entry, uint day)
 {
     return(Has.Property("Day").Not.EqualTo(day));
 }
Пример #5
0
 /// <summary>
 /// Builds an instance of <see cref="Constraint"/> that tests whether the actual
 /// value does not have the provided <paramref name="month"/>.
 /// </summary>
 /// <param name="entry">Extension entry point.</param>
 /// <param name="month">Expected property of the current date.</param>
 /// <returns>Instance built.</returns>
 public static Constraint Month(this Must.NotHaveEntryPoint entry, uint month)
 {
     return(Has.Property("Month").Not.EqualTo(month));
 }
Пример #6
0
 /// <summary>
 /// Builds an instance of <see cref="Constraint"/> that tests whether the actual
 /// value does not have the provided <paramref name="year"/>.
 /// </summary>
 /// <param name="entry">Extension entry point.</param>
 /// <param name="year">Expected property of the current date.</param>
 /// <returns>Instance built.</returns>
 public static Constraint Year(this Must.NotHaveEntryPoint entry, int year)
 {
     return(Has.Property("Year").Not.EqualTo(year));
 }
Пример #7
0
 public static void Extended(this Must.NotHaveEntryPoint entry, int argument)
 {
 }
Пример #8
0
 public static void Extended(this Must.NotHaveEntryPoint entry)
 {
 }