using UnitTestSharp; namespace Konis.UnitTests { public class DefTests : TestFixture { public class NameTests : TestFixture { public void IsNullUntilGiven() { CheckNull(new GradientDef().Name); } public void IsSetByAnInitializer() { CheckEqual("Smoke", new GradientDef { Name = "Smoke" }.Name); } } } }