public void ThenAttribute_SetsCorrectDescriptionAsDisplayName() { string description = "attribute description."; ThenAttribute sut = new ThenAttribute(description, 1); sut.DisplayName.Should().Be($"Then {description}"); }
public void ThenAttribute_AllowsToSpecifyOrderOfExecution() { int expectedOrder = 1; ThenAttribute sut = new ThenAttribute("test", expectedOrder); sut.Order.Should().Be(expectedOrder); }
public void ThenAttribute_SkipDescriptionIsAlwaysEmpty() { ThenAttribute sut = new ThenAttribute("test", 1); sut.Skip.Should().BeEmpty(); }