-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f2bf9c0
commit ca78231
Showing
17 changed files
with
459 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
Contracts/Synergy.Contracts.Test/Requirements/BusinessUsage.Samples.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
using System; | ||
using Synergy.Contracts.Requirements; | ||
using Synergy.Contracts.Test.Documentation; | ||
|
||
namespace Synergy.Contracts.Test.Requirements | ||
{ | ||
partial class BusinessUsage | ||
{ | ||
private static string? Read(string method) | ||
{ | ||
return ClassReader.ReadMethodBody(method); | ||
} | ||
|
||
public void Step1Sample() | ||
{ | ||
Business.Rule("When withdraw limit is set, withdrawn amount cannot exceed the limit") | ||
.Throws(new NotImplementedException("NOT IMPLEMENTED")); | ||
} | ||
} | ||
} |
Oops, something went wrong.