@@ -229,7 +229,7 @@ public static async Task Builder_For_Raw_Bytes_Registers_Interception_Synchronou
229229
230230 var builder = new HttpRequestInterceptionBuilder ( )
231231 . ForUrl ( requestUri )
232- . WithContent ( ( ) => new byte [ ] { 46 , 78 , 69 , 84 } ) ;
232+ . WithContent ( ( ) => ".NET"u8 . ToArray ( ) ) ;
233233
234234 var options = new HttpClientInterceptorOptions ( ) . Register ( builder ) ;
235235
@@ -248,7 +248,7 @@ public static async Task Builder_For_Raw_Bytes_Clears_Content()
248248
249249 var builder = new HttpRequestInterceptionBuilder ( )
250250 . ForUrl ( requestUri )
251- . WithContent ( ( ) => new byte [ ] { 46 , 78 , 69 , 84 } )
251+ . WithContent ( ( ) => ".NET"u8 . ToArray ( ) )
252252 . WithContent ( ( Func < byte [ ] > ) null )
253253 . WithContent ( ( Func < Task < byte [ ] > > ) null ) ;
254254
@@ -269,8 +269,8 @@ public static async Task Builder_For_Raw_Bytes_Registers_Interception_Asynchrono
269269
270270 var builder = new HttpRequestInterceptionBuilder ( )
271271 . ForUrl ( requestUri )
272- . WithContentStream ( ( ) => Task . FromResult < Stream > ( new MemoryStream ( new byte [ ] { 84 , 69 , 78 , 46 } ) ) )
273- . WithContent ( ( ) => Task . FromResult ( new byte [ ] { 46 , 78 , 69 , 84 } ) ) ;
272+ . WithContentStream ( ( ) => Task . FromResult < Stream > ( new MemoryStream ( ".NET"u8 . ToArray ( ) ) ) )
273+ . WithContent ( ( ) => Task . FromResult ( ".NET"u8 . ToArray ( ) ) ) ;
274274
275275 var options = new HttpClientInterceptorOptions ( ) . Register ( builder ) ;
276276
@@ -289,7 +289,7 @@ public static async Task Builder_For_Stream_Registers_Interception_Synchronous()
289289
290290 var builder = new HttpRequestInterceptionBuilder ( )
291291 . ForUrl ( requestUri )
292- . WithContentStream ( ( ) => new MemoryStream ( new byte [ ] { 46 , 78 , 69 , 84 } ) ) ;
292+ . WithContentStream ( ( ) => new MemoryStream ( ".NET"u8 . ToArray ( ) ) ) ;
293293
294294 var options = new HttpClientInterceptorOptions ( ) . Register ( builder ) ;
295295
@@ -308,7 +308,7 @@ public static async Task Builder_For_Stream_Clears_Stream()
308308
309309 var builder = new HttpRequestInterceptionBuilder ( )
310310 . ForUrl ( requestUri )
311- . WithContentStream ( ( ) => new MemoryStream ( new byte [ ] { 46 , 78 , 69 , 84 } ) )
311+ . WithContentStream ( ( ) => new MemoryStream ( ".NET"u8 . ToArray ( ) ) )
312312 . WithContentStream ( ( Func < Stream > ) null )
313313 . WithContentStream ( ( Func < Task < Stream > > ) null ) ;
314314
@@ -329,8 +329,8 @@ public static async Task Builder_For_Stream_Registers_Interception_Asynchronous(
329329
330330 var builder = new HttpRequestInterceptionBuilder ( )
331331 . ForUrl ( requestUri )
332- . WithContent ( ( ) => Task . FromResult ( new byte [ ] { 84 , 69 , 78 , 46 } ) )
333- . WithContentStream ( ( ) => Task . FromResult < Stream > ( new MemoryStream ( new byte [ ] { 46 , 78 , 69 , 84 } ) ) ) ;
332+ . WithContent ( ( ) => Task . FromResult ( ".NET"u8 . ToArray ( ) ) )
333+ . WithContentStream ( ( ) => Task . FromResult < Stream > ( new MemoryStream ( ".NET"u8 . ToArray ( ) ) ) ) ;
334334
335335 var options = new HttpClientInterceptorOptions ( ) . Register ( builder ) ;
336336
0 commit comments