Exemple #1
0
        public void GetDropDownValues_PropertyInvalid_ReturnsDictionaryEmptyFillLog()
        {
            // Arrange
            var propertyString = "Invalid";

            // Act
            var actualResult = _testEntity.GetDropDownValues(_webProperties, _integrationLog, propertyString, string.Empty);

            // Assert
            this.ShouldSatisfyAllConditions(
                () => actualResult.ShouldBeEmpty(),
                () => _actualLogMessage.ShouldContain($"Invalid property: {propertyString}"));
        }