public void TestCode() { // arrange int max = ShortCode.MAX; int min = ShortCode.MIN; int generatedCode = ShortCode.Next(); // act bool isInRange = generatedCode <= max && generatedCode >= min; // assert Assert.True(isInRange); }
public ApproveEmailTemplate() : this(ShortCode.Next(), EmailLink.Next()) { }