We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 712fbd2 commit 6d408d5Copy full SHA for 6d408d5
Chapter-1-initial-architecture/Src/Fitnet.ArchitectureTests/Conventions/InterfacesConventionsTests.cs
@@ -0,0 +1,22 @@
1
+namespace EvolutionaryArchitecture.Fitnet.ArchitectureTests.Conventions;
2
+
3
+using Common;
4
5
+public sealed class InterfacesConventionsTests
6
+{
7
+ [Fact]
8
+ internal void ShouldStartWithI()
9
+ {
10
+ // Arrange
11
+ var rules = Solution.Types.That()
12
+ .AreInterfaces()
13
+ .Should()
14
+ .HaveNameStartingWith("I");
15
16
+ // Act
17
+ var result = rules.GetResult();
18
19
+ // Assert
20
+ result.IsSuccessful.Should().BeTrue();
21
+ }
22
+}
0 commit comments