示例#1
0
 public void GivenAVersionIsParsedAndStoredIn(string version, string variable)
 {
     SpecUtils.TestValue(() => DomainVersion.Parse(version), variable);
 }
示例#2
0
 public void ThenTheParsingFailed()
 {
     SpecUtils.ExceptionExpected <FormatException>();
 }
示例#3
0
 public void GivenAStringIsParsedAsAVersion(string printed)
 {
     SpecUtils.TestValueProtected(() => DomainVersion.Parse(printed));
 }
示例#4
0
 public void ThenTheParsingSucceed()
 {
     SpecUtils.NoExceptionExpected();
 }