Пример #1
0
 public void WhenGettingJsonValueAttribute(EnumExtensionTester e, string expectedOutput)
 {
     Assert.That(e.JsonValue(), Is.EqualTo(expectedOutput));
 }
Пример #2
0
 public void WhenGettingDescriptionAttribute(EnumExtensionTester e, string expectedOutput)
 {
     Assert.That(e.Description(), Is.EqualTo(expectedOutput));
 }