public Task SendFileWhenFileNotFoundThrows() { var response = new DefaultProtoContext().Response; return(Assert.ThrowsAsync <FileNotFoundException>(() => response.SendFileAsync("foo"))); }
public Task SendFileWhenFileNotFoundThrows() { var response = new DefaultProtoContext().Response; return(Assert.ThrowsAsync <FileNotFoundException>(() => response.SendFileAsync("foo"))); }