File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed
src/MyTested.AspNetCore.Mvc.Abstractions/Builders/Data Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -47,14 +47,28 @@ public TDataProviderTestBuilder ContainingEntryWithValue<TValue>(TValue value)
47
47
/// <inheritdoc />
48
48
public TDataProviderTestBuilder ContainingEntryOfType < TValue > ( )
49
49
{
50
- this . ValidateContainingEntryOfType < TValue > ( ) ;
50
+ this . ContainingEntryOfType ( typeof ( TValue ) ) ;
51
+ return this . DataProviderTestBuilder ;
52
+ }
53
+
54
+ /// <inheritdoc />
55
+ public TDataProviderTestBuilder ContainingEntryOfType ( Type valueType )
56
+ {
57
+ this . ValidateContainingEntryOfType ( valueType ) ;
51
58
return this . DataProviderTestBuilder ;
52
59
}
53
60
54
61
/// <inheritdoc />
55
62
public TDataProviderTestBuilder ContainingEntryOfType < TValue > ( string key )
56
63
{
57
- this . ValidateContainingEntryOfType < TValue > ( key ) ;
64
+ this . ContainingEntryOfType ( key , typeof ( TValue ) ) ;
65
+ return this . DataProviderTestBuilder ;
66
+ }
67
+
68
+ /// <inheritdoc />
69
+ public TDataProviderTestBuilder ContainingEntryOfType ( string key , Type valueType )
70
+ {
71
+ this . ValidateContainingEntryOfType ( key , valueType ) ;
58
72
return this . DataProviderTestBuilder ;
59
73
}
60
74
You can’t perform that action at this time.
0 commit comments