public void ReadAsAsyncOfT_WhenContentParameterIsNull_Throws()
 {
     Assert.ThrowsArgumentNull(() => HttpContentExtensions.ReadAsAsync <string>(null, _emptyFormatterList), "content");
 }
 public void ReadAsAsyncOfT_WhenFormattersParameterIsNull_Throws()
 {
     Assert.ThrowsArgumentNull(() => HttpContentExtensions.ReadAsAsync <string>(new StringContent(""), null), "formatters");
 }
 public void ReadAsAsync_WhenTypeParameterIsNull_Throws()
 {
     Assert.ThrowsArgumentNull(() => HttpContentExtensions.ReadAsAsync(new StringContent(""), null, _emptyFormatterList), "type");
 }