public void ReadyToRunAfterTargetHasBeenCalled() { JUUTTestMethodAttribute testAfter = new TestAfterAttribute(typeof(TestClassTarget), "TargetMethod"); TestClassTarget target = new TestClassTarget(); target.TargetMethod(); AssertEx.That(testAfter.IsTestReadyToRun, Is.True()); }
public void Creation() { JUUTTestMethodAttribute testAfter = new TestAfterAttribute(typeof(TestClassTarget), "TargetMethod"); AssertEx.That(testAfter.Name, Is.EqualTo("TestAfter")); AssertEx.That(testAfter.IsSetUpOrTearDown, Is.False()); AssertEx.That(testAfter.IsTestReadyToRun, Is.False()); }