public async Task FileSharing_WithUnauthorizeUser_ReturnsExpectedNotFound() { var blobInfo = await BlobStorage.GetFileInfo(BlobId, JohnId.ToString()); blobInfo.Should().NotBeNull(); var response = await UnauthorizedApi.GetNodeEntityById(FileId); response.IsSuccessStatusCode.ShouldBeEquivalentTo(false); response.StatusCode.ShouldBeEquivalentTo(400); response.ReasonPhrase.ShouldAllBeEquivalentTo("Bad Request"); }