コード例 #1
0
        public async Task UploadFile_ShouldReturn200OK(string filename)
        {
            var result = await _sut.UploadFile(filename);

            result.ShouldBe(HttpStatusCode.OK);
        }
コード例 #2
0
        public async Task <HttpStatusCode> UploadFile_String(string filename)
        {
            var result = await _uploadFileLocalCommandString.UploadFile(filename);

            return(result);
        }