@@ -177,9 +177,9 @@ public void SqlLog()
177
177
sessions . Statistics . Clear ( ) ;
178
178
FillDb ( ) ;
179
179
string logs = sl . GetWholeLog ( ) ;
180
- Assert . That ( logs , Is . Not . StringContaining ( "Adding to batch" ) . IgnoreCase ) ;
181
- Assert . That ( logs , Is . StringContaining ( "Batch command" ) . IgnoreCase ) ;
182
- Assert . That ( logs , Is . StringContaining ( "INSERT" ) . IgnoreCase ) ;
180
+ Assert . That ( logs , Does . Not . Contain ( "Adding to batch" ) . IgnoreCase ) ;
181
+ Assert . That ( logs , Does . Contain ( "Batch command" ) . IgnoreCase ) ;
182
+ Assert . That ( logs , Does . Contain ( "INSERT" ) . IgnoreCase ) ;
183
183
}
184
184
}
185
185
@@ -201,13 +201,13 @@ public void AbstractBatcherLog()
201
201
sessions . Statistics . Clear ( ) ;
202
202
FillDb ( ) ;
203
203
string logs = sl . GetWholeLog ( ) ;
204
- Assert . That ( logs , Is . StringContaining ( "batch" ) . IgnoreCase ) ;
204
+ Assert . That ( logs , Does . Contain ( "batch" ) . IgnoreCase ) ;
205
205
foreach ( var loggingEvent in sl . Appender . GetEvents ( ) )
206
206
{
207
207
string message = loggingEvent . RenderedMessage ;
208
208
if ( message . ToLowerInvariant ( ) . Contains ( "insert" ) )
209
209
{
210
- Assert . That ( message , Is . StringContaining ( "batch" ) . IgnoreCase ) ;
210
+ Assert . That ( message , Does . Contain ( "batch" ) . IgnoreCase ) ;
211
211
}
212
212
}
213
213
}
@@ -227,7 +227,7 @@ public void SqlLogShouldGetBatchCommandNotification()
227
227
sessions . Statistics . Clear ( ) ;
228
228
FillDb ( ) ;
229
229
string logs = sl . GetWholeLog ( ) ;
230
- Assert . That ( logs , Is . StringContaining ( "Batch commands:" ) . IgnoreCase ) ;
230
+ Assert . That ( logs , Does . Contain ( "Batch commands:" ) . IgnoreCase ) ;
231
231
}
232
232
}
233
233
@@ -257,8 +257,8 @@ public void AbstractBatcherLogFormattedSql()
257
257
{
258
258
if ( sqlLine . Contains ( "p0" ) )
259
259
{
260
- Assert . That ( sqlLine , Is . StringContaining ( "p1" ) ) ;
261
- Assert . That ( sqlLine , Is . StringContaining ( "p2" ) ) ;
260
+ Assert . That ( sqlLine , Does . Contain ( "p1" ) ) ;
261
+ Assert . That ( sqlLine , Does . Contain ( "p2" ) ) ;
262
262
}
263
263
}
264
264
}
@@ -270,4 +270,4 @@ public void AbstractBatcherLogFormattedSql()
270
270
Cleanup ( ) ;
271
271
}
272
272
}
273
- }
273
+ }
0 commit comments