public void AlwaysTrueAttributeGetDefinitionReturnsNonNullToggleDefinition() { // Arrange var sut = new AlwaysTrueAttribute(); // Act var result = sut.GetDefinition(typeof(AlwaysTrueToggle)); // Assert result.Should().NotBeNull(); }
public void AlwaysTrueAttributeGetDefinitionReturnsEvaluationThatReturnsTrue() { // Arrange var sut = new AlwaysTrueAttribute(); var definition = sut.GetDefinition(typeof(AlwaysTrueToggle)); // Act var result = definition.Evaluation(); // Assert result.Should().BeTrue(); }