aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline.Tests/Helpers
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-03-09 19:23:01 +0800
committercrupest <crupest@outlook.com>2022-03-09 19:23:01 +0800
commit3cd0140ff4425b37b6e8dd8e8f16a54b1338c352 (patch)
tree1bdcc969976687930aab44356639702ebdafea0e /BackEnd/Timeline.Tests/Helpers
parentb89ea2e72451133ca8be185de882aa848c277638 (diff)
downloadtimeline-3cd0140ff4425b37b6e8dd8e8f16a54b1338c352.tar.gz
timeline-3cd0140ff4425b37b6e8dd8e8f16a54b1338c352.tar.bz2
timeline-3cd0140ff4425b37b6e8dd8e8f16a54b1338c352.zip
...
Diffstat (limited to 'BackEnd/Timeline.Tests/Helpers')
-rw-r--r--BackEnd/Timeline.Tests/Helpers/AsyncFunctionAssertionsExtensions.cs16
1 files changed, 0 insertions, 16 deletions
diff --git a/BackEnd/Timeline.Tests/Helpers/AsyncFunctionAssertionsExtensions.cs b/BackEnd/Timeline.Tests/Helpers/AsyncFunctionAssertionsExtensions.cs
deleted file mode 100644
index b78309c0..00000000
--- a/BackEnd/Timeline.Tests/Helpers/AsyncFunctionAssertionsExtensions.cs
+++ /dev/null
@@ -1,16 +0,0 @@
-using FluentAssertions;
-using FluentAssertions.Primitives;
-using FluentAssertions.Specialized;
-using System;
-using System.Threading.Tasks;
-
-namespace Timeline.Tests.Helpers
-{
- public static class AsyncFunctionAssertionsExtensions
- {
- public static async Task<AndConstraint<ObjectAssertions>> ThrowAsync(this AsyncFunctionAssertions assertions, Type exceptionType, string because = "", params object[] becauseArgs)
- {
- return (await assertions.ThrowAsync<Exception>(because, becauseArgs)).Which.Should().BeAssignableTo(exceptionType);
- }
- }
-}