public void AlwaysFalseAttributeGetDefinitionReturnsNonNullToggleDefinition() { // Arrange var sut = new AlwaysFalseAttribute(); // Act var result = sut.GetDefinition(typeof(AlwaysFalseToggle)); // Assert result.Should().NotBeNull(); }
public void AlwaysFalseAttributeGetDefinitionReturnsEvaluationThatReturnsFalse() { // Arrange var sut = new AlwaysFalseAttribute(); var definition = sut.GetDefinition(typeof(AlwaysFalseToggle)); // Act var result = definition.Evaluation(); // Assert result.Should().BeFalse(); }