LogValuesAssert LogValuesAssert Class

Definition

public static class LogValuesAssert : object
Public Module LogValuesAssert
    Inherits Object
Inheritance
LogValuesAssertLogValuesAssert

Methods

Contains(IEnumerable<>>, IEnumerable<>>) Contains(IEnumerable(Of KeyValuePair(Of String, Object)), IEnumerable(Of KeyValuePair(Of String, Object)))

Asserts that all the expected values are present in the actual values by ignoring the order of values.
public static void Contains(IEnumerable<KeyValuePair<string, object>> expectedValues, IEnumerable<KeyValuePair<string, object>> actualValues)
Public Shared Sub Contains(expectedValues As IEnumerable(Of KeyValuePair(Of String, Object)), actualValues As IEnumerable(Of KeyValuePair(Of String, Object)))
Parameters
expectedValues
IEnumerable<KeyValuePair<String, Object>> IEnumerable(Of KeyValuePair(Of String, Object))
Expected subset of values
actualValues
IEnumerable<KeyValuePair<String, Object>> IEnumerable(Of KeyValuePair(Of String, Object))
Actual set of values

Contains(String, Object, IEnumerable<>>) Contains(String, Object, IEnumerable(Of KeyValuePair(Of String, Object)))

Asserts that the given key and value are present in the actual values.
public static void Contains(string key, object value, IEnumerable<KeyValuePair<string, object>> actualValues)
Public Shared Sub Contains(key As String, value As Object, actualValues As IEnumerable(Of KeyValuePair(Of String, Object)))
Parameters
key
String String
The key of the item to be found.
value
Object Object
The value of the item to be found.
actualValues
IEnumerable<KeyValuePair<String, Object>> IEnumerable(Of KeyValuePair(Of String, Object))
The actual values.