ic_substitute_Tests.cs 463 B

12345678910111213141516171819
  1. using Business.Domain;
  2. using Shouldly;
  3. using Xunit;
  4. namespace Bussiness.Domain.Test
  5. {
  6. public class ic_substitute_Tests
  7. {
  8. [Theory]
  9. [InlineData("aaa")]
  10. [InlineData("bbb")]
  11. public void SetText(string text)
  12. {
  13. var comment = new ic_substitute { substitute_type = 1, substitute_code = "CCC" };
  14. comment.substitute_code=text;
  15. comment.substitute_code.ShouldBe(text);
  16. }
  17. }
  18. }