public void GivenAVersionIsParsedAndStoredIn(string version, string variable) { SpecUtils.TestValue(() => DomainVersion.Parse(version), variable); }
public void ThenTheParsingFailed() { SpecUtils.ExceptionExpected <FormatException>(); }
public void GivenAStringIsParsedAsAVersion(string printed) { SpecUtils.TestValueProtected(() => DomainVersion.Parse(printed)); }
public void ThenTheParsingSucceed() { SpecUtils.NoExceptionExpected(); }