Skip to content
MrKWatkins.Assertions
ObjectAssertions<T>.BeNull Method
Initializing search
MrKWatkins.Assertions
MrKWatkins.Assertions
Collections
Dictionaries
Exceptions
Numbers
Objects
Spans
Strings
API
API
MrKWatkins.Assertions
MrKWatkins.Assertions
ActionAssertions
ActionAssertions
ActionAssertions
ActionAssertions Constructors
ActionAssertions.NotThrow Method
ActionAssertions.Throw Method
ActionAssertions.ThrowArgumentException Method
ActionAssertions.ThrowArgumentOutOfRangeException Method
ActionAssertionsChain TException
ActionAssertionsChain TException
ActionAssertionsChain
ActionAssertionsChain<TException> Constructors
ActionAssertionsChain<TException>.Exception Property
ActionAssertionsChain<TException>.That Property
AssertThat
AssertThat
AssertThat
AssertThat.Invoking Method
AssertionException
AssertionException
AssertionException
AssertionException Constructors
AsyncActionAssertions
AsyncActionAssertions
AsyncActionAssertions
AsyncActionAssertions Constructors
AsyncActionAssertions.NotThrowAsync Method
AsyncActionAssertions.ThrowArgumentExceptionAsync Method
AsyncActionAssertions.ThrowArgumentOutOfRangeExceptionAsync Method
AsyncActionAssertions.ThrowAsync Method
BooleanAssertions
BooleanAssertions
BooleanAssertions
BooleanAssertions Constructors
BooleanAssertions.BeFalse Method
BooleanAssertions.BeTrue Method
BooleanAssertions.NotBeFalse Method
BooleanAssertions.NotBeTrue Method
BooleanAssertionsChain
BooleanAssertionsChain
BooleanAssertionsChain
BooleanAssertionsChain Constructors
BooleanAssertionsChain.And Property
BooleanAssertionsChain.Value Property
BooleanExtensions
BooleanExtensions
BooleanExtensions
BooleanExtensions.BeFalse Method
BooleanExtensions.BeTrue Method
BooleanExtensions.NotBeFalse Method
BooleanExtensions.NotBeTrue Method
CountExtensions
CountExtensions
CountExtensions
CountExtensions.BeEmpty Method
CountExtensions.HaveCount Method
CountExtensions.NotBeEmpty Method
CountExtensions.NotHaveCount Method
DecimalAssertions
DecimalAssertions
DecimalAssertions
DecimalAssertions Constructors
DecimalAssertions.BeGreaterThan Method
DecimalAssertions.BeGreaterThanOrEqualTo Method
DecimalAssertions.BeLessThan Method
DecimalAssertions.BeLessThanOrEqualTo Method
DecimalAssertions.BeNegative Method
DecimalAssertions.BePositive Method
DecimalAssertions.BeZero Method
DecimalAssertions.NotBeNegative Method
DecimalAssertions.NotBePositive Method
DecimalAssertions.NotBeZero Method
DecimalAssertionsChain
DecimalAssertionsChain
DecimalAssertionsChain
DecimalAssertionsChain Constructors
DecimalAssertionsChain.And Property
DecimalAssertionsChain.Value Property
EnumerableAssertions TEnumerable T
EnumerableAssertions TEnumerable T
EnumerableAssertions
EnumerableAssertions<TEnumerable, T> Constructors
EnumerableAssertions<TEnumerable, T>.Contain Method
EnumerableAssertions<TEnumerable, T>.ContainSingle Method
EnumerableAssertions<TEnumerable, T>.NotContain Method
EnumerableAssertions<TEnumerable, T>.NotSequenceEqual Method
EnumerableAssertions<TEnumerable, T>.OnlyContain Method
EnumerableAssertions<TEnumerable, T>.SequenceEqual Method
EnumerableAssertionsChain TEnumerable T
EnumerableAssertionsChain TEnumerable T
EnumerableAssertionsChain
EnumerableAssertionsChain<TEnumerable, T> Constructors
EnumerableAssertionsChain<TEnumerable, T>.And Property
EnumerableAssertionsChain<TEnumerable, T>.Value Property
EnumerableExtensions
EnumerableExtensions
EnumerableExtensions
EnumerableExtensions.NotSequenceEqual Method
EnumerableExtensions.SequenceEqual Method
ExceptionAssertions T
ExceptionAssertions T
ExceptionAssertions
ExceptionAssertions<T> Constructors
ExceptionAssertions<T>.HaveInnerException Method
ExceptionAssertions<T>.HaveMessage Method
ExceptionAssertions<T>.HaveMessageStartingWith Method
ExceptionAssertions<T>.NotHaveInnerException Method
ExceptionAssertions<T>.NotHaveMessage Method
ExceptionAssertions<T>.NotHaveMessageStartingWith Method
ExceptionAssertionsChain T
ExceptionAssertionsChain T
ExceptionAssertionsChain
ExceptionAssertionsChain<T> Constructors
ExceptionAssertionsChain<T>.And Property
ExceptionAssertionsChain<T>.Value Property
ExceptionExtensions
ExceptionExtensions
ExceptionExtensions
ExceptionExtensions.HaveActualValue Method
ExceptionExtensions.HaveParamName Method
ExceptionExtensions.NotHaveActualValue Method
ExceptionExtensions.NotHaveParamName Method
FloatingPointAssertions T
FloatingPointAssertions T
FloatingPointAssertions
FloatingPointAssertions<T> Constructors
FloatingPointAssertions<T>.BeApproximately Method
FloatingPointAssertions<T>.BeGreaterThan Method
FloatingPointAssertions<T>.BeGreaterThanOrEqualTo Method
FloatingPointAssertions<T>.BeInfinity Method
FloatingPointAssertions<T>.BeLessThan Method
FloatingPointAssertions<T>.BeLessThanOrEqualTo Method
FloatingPointAssertions<T>.BeNaN Method
FloatingPointAssertions<T>.BeNegative Method
FloatingPointAssertions<T>.BeNegativeInfinity Method
FloatingPointAssertions<T>.BePositive Method
FloatingPointAssertions<T>.BePositiveInfinity Method
FloatingPointAssertions<T>.BeZero Method
FloatingPointAssertions<T>.NotBeInfinity Method
FloatingPointAssertions<T>.NotBeNaN Method
FloatingPointAssertions<T>.NotBeNegative Method
FloatingPointAssertions<T>.NotBePositive Method
FloatingPointAssertions<T>.NotBeZero Method
FloatingPointAssertionsChain T
FloatingPointAssertionsChain T
FloatingPointAssertionsChain
FloatingPointAssertionsChain<T> Constructors
FloatingPointAssertionsChain<T>.And Property
FloatingPointAssertionsChain<T>.Value Property
FormatInterpolatedStringHandler
FormatInterpolatedStringHandler
FormatInterpolatedStringHandler
FormatInterpolatedStringHandler Constructors
FormatInterpolatedStringHandler.AppendFormatted Method
FormatInterpolatedStringHandler.AppendLiteral Method
FormatInterpolatedStringHandler.ToString Method
InnerExceptionAssertionsChain TException
InnerExceptionAssertionsChain TException
InnerExceptionAssertionsChain
InnerExceptionAssertionsChain<TException> Constructors
InnerExceptionAssertionsChain<TException>.That Property
IntegerAssertions T
IntegerAssertions T
IntegerAssertions
IntegerAssertions<T> Constructors
IntegerAssertions<T>.BeGreaterThan Method
IntegerAssertions<T>.BeGreaterThanOrEqualTo Method
IntegerAssertions<T>.BeLessThan Method
IntegerAssertions<T>.BeLessThanOrEqualTo Method
IntegerAssertions<T>.BeNegative Method
IntegerAssertions<T>.BePositive Method
IntegerAssertions<T>.BeZero Method
IntegerAssertions<T>.Equal Method
IntegerAssertions<T>.NotBeNegative Method
IntegerAssertions<T>.NotBePositive Method
IntegerAssertions<T>.NotBeZero Method
IntegerAssertions<T>.NotEqual Method
IntegerAssertionsChain T
IntegerAssertionsChain T
IntegerAssertionsChain
IntegerAssertionsChain<T> Constructors
IntegerAssertionsChain<T>.And Property
IntegerAssertionsChain<T>.Value Property
IntegerFormat
IntegerFormat
IntegerFormat
InvokingExtensions
InvokingExtensions
InvokingExtensions
InvokingExtensions.Awaiting Method
InvokingExtensions.Invoking Method
ObjectAssertions T
ObjectAssertions T
ObjectAssertions
ObjectAssertions<T> Constructors
ObjectAssertions<T>.BeNull Method
ObjectAssertions<T>.BeNull Method
Table of contents
Definition
ObjectAssertions<T>.BeOfType Method
ObjectAssertions<T>.BeTheSameInstanceAs Method
ObjectAssertions<T>.Equal Method
ObjectAssertions<T>.Equals Method
ObjectAssertions<T>.GetHashCode Method
ObjectAssertions<T>.GetType Method
ObjectAssertions<T>.NotBeNull Method
ObjectAssertions<T>.NotBeOfType Method
ObjectAssertions<T>.NotBeTheSameInstanceAs Method
ObjectAssertions<T>.NotEqual Method
ObjectAssertions<T>.ToString Method
ObjectAssertions<T>.Value Property
ObjectAssertionsChain T
ObjectAssertionsChain T
ObjectAssertionsChain
ObjectAssertionsChain<T> Constructors
ObjectAssertionsChain<T>.And Property
ObjectAssertionsChain<T>.That Property
ObjectAssertionsChain<T>.Value Property
ReadOnlyDictionaryAssertions TDictionary TKey TValue
ReadOnlyDictionaryAssertions TDictionary TKey TValue
ReadOnlyDictionaryAssertions
ReadOnlyDictionaryAssertions<TDictionary, TKey, TValue> Constructors
ReadOnlyDictionaryAssertions<TDictionary, TKey, TValue>.ContainKey Method
ReadOnlyDictionaryAssertions<TDictionary, TKey, TValue>.NotContainKey Method
ReadOnlyDictionaryAssertionsChain TDictionary TKey TValue
ReadOnlyDictionaryAssertionsChain TDictionary TKey TValue
ReadOnlyDictionaryAssertionsChain
ReadOnlyDictionaryAssertionsChain<TDictionary, TKey, TValue> Constructors
ReadOnlyDictionaryAssertionsChain<TDictionary, TKey, TValue>.And Property
ReadOnlyDictionaryAssertionsChain<TDictionary, TKey, TValue>.Value Property
ReadOnlySpanAssertions T
ReadOnlySpanAssertions T
ReadOnlySpanAssertions
ReadOnlySpanAssertions<T> Constructors
ReadOnlySpanAssertions<T>.BeEmpty Method
ReadOnlySpanAssertions<T>.NotBeEmpty Method
ReadOnlySpanAssertions<T>.NotSequenceEqual Method
ReadOnlySpanAssertions<T>.SequenceEqual Method
ReadOnlySpanAssertions<T>.Value Property
ReadOnlySpanAssertionsChain TItem
ReadOnlySpanAssertionsChain TItem
ReadOnlySpanAssertionsChain
ReadOnlySpanAssertionsChain<TItem> Constructors
ReadOnlySpanAssertionsChain<TItem>.And Property
ReadOnlySpanAssertionsChain<TItem>.Value Property
ShouldExtensions
ShouldExtensions
ShouldExtensions
ShouldExtensions.Should Method
StringAssertions
StringAssertions
StringAssertions
StringAssertions Constructors
StringAssertions.BeEmpty Method
StringAssertions.BeNullOrEmpty Method
StringAssertions.BeNullOrWhiteSpace Method
StringAssertions.Contain Method
StringAssertions.EndWith Method
StringAssertions.HaveLength Method
StringAssertions.Match Method
StringAssertions.NotBeEmpty Method
StringAssertions.NotBeNullOrEmpty Method
StringAssertions.NotBeNullOrWhiteSpace Method
StringAssertions.NotContain Method
StringAssertions.NotEndWith Method
StringAssertions.NotHaveLength Method
StringAssertions.NotMatch Method
StringAssertions.NotStartWith Method
StringAssertions.StartWith Method
StringAssertionsChain
StringAssertionsChain
StringAssertionsChain
StringAssertionsChain Constructors
StringAssertionsChain.And Property
StringAssertionsChain.Value Property
Verify
Verify
Verify
Verify.That Method
With
With
With
With.IntegerFormat Method
Table of contents
Definition
ObjectAssertions<T>.BeNull Method
Definition
Asserts that the value is
null
.
public void BeNull();