MockConfigurationPropertySource() — spring-boot Function Reference
Architecture documentation for the MockConfigurationPropertySource() function in MockConfigurationPropertySource.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD dec6e978_683d_a8e4_7ae5_e3e729d3253e["MockConfigurationPropertySource()"] b4e84d6f_028d_6b32_584c_3ce761f7bb64["isEnforcedWhenBinderPropertyMatchesReturnsTrue()"] b4e84d6f_028d_6b32_584c_3ce761f7bb64 -->|calls| dec6e978_683d_a8e4_7ae5_e3e729d3253e 524eddfd_2258_3f20_9aaa_51d69bc1ed0b["isEnforcedWhenBinderPropertyDoesNotMatchReturnsFalse()"] 524eddfd_2258_3f20_9aaa_51d69bc1ed0b -->|calls| dec6e978_683d_a8e4_7ae5_e3e729d3253e e511af46_5357_ab7b_2ddc_4090e344bd3e["isEnforcedWhenBinderPropertyIsMissingReturnsFalse()"] e511af46_5357_ab7b_2ddc_4090e344bd3e -->|calls| dec6e978_683d_a8e4_7ae5_e3e729d3253e fb8c8bc0_ae04_b772_7180_671be9736cdf["bindToArrayShouldReturnArray()"] fb8c8bc0_ae04_b772_7180_671be9736cdf -->|calls| dec6e978_683d_a8e4_7ae5_e3e729d3253e a645ab28_85d4_0bde_7aee_e8deaa411d26["bindToCollectionShouldTriggerOnSuccess()"] a645ab28_85d4_0bde_7aee_e8deaa411d26 -->|calls| dec6e978_683d_a8e4_7ae5_e3e729d3253e 8d23688d_4e0e_fd29_24a6_93f74ef53bd3["bindToArrayShouldReturnPrimitiveArray()"] 8d23688d_4e0e_fd29_24a6_93f74ef53bd3 -->|calls| dec6e978_683d_a8e4_7ae5_e3e729d3253e 195619ed_23b1_d92a_4323_f1ecdef5beaf["bindToArrayWhenNestedShouldReturnPopulatedArray()"] 195619ed_23b1_d92a_4323_f1ecdef5beaf -->|calls| dec6e978_683d_a8e4_7ae5_e3e729d3253e f5920773_74ff_b0fa_6337_14df2493ec46["bindToArrayWhenNestedListShouldReturnPopulatedArray()"] f5920773_74ff_b0fa_6337_14df2493ec46 -->|calls| dec6e978_683d_a8e4_7ae5_e3e729d3253e 44c7f002_f5c2_a309_be23_a7b37ba346c1["bindToArrayWhenNotInOrderShouldReturnPopulatedArray()"] 44c7f002_f5c2_a309_be23_a7b37ba346c1 -->|calls| dec6e978_683d_a8e4_7ae5_e3e729d3253e f5b14c2c_83b6_ad0f_f7e2_debece53c59c["bindToArrayWhenNonSequentialShouldThrowException()"] f5b14c2c_83b6_ad0f_f7e2_debece53c59c -->|calls| dec6e978_683d_a8e4_7ae5_e3e729d3253e d0e577b7_ae67_aee7_5abb_462088293061["bindToArrayWhenNonIterableShouldReturnPopulatedArray()"] d0e577b7_ae67_aee7_5abb_462088293061 -->|calls| dec6e978_683d_a8e4_7ae5_e3e729d3253e 020b7687_567c_5592_10e1_3a747b00e1a0["bindToArrayWhenMultipleSourceShouldOnlyUseFirst()"] 020b7687_567c_5592_10e1_3a747b00e1a0 -->|calls| dec6e978_683d_a8e4_7ae5_e3e729d3253e ba829ea4_2fa7_5217_5bd9_743cdaa7ea4c["bindToArrayWhenHasExistingCollectionShouldReplaceAllContents()"] ba829ea4_2fa7_5217_5bd9_743cdaa7ea4c -->|calls| dec6e978_683d_a8e4_7ae5_e3e729d3253e 796af5dc_e98a_49de_d52a_de4cbf8295f6["bindToArrayWhenNoValueShouldReturnUnbound()"] 796af5dc_e98a_49de_d52a_de4cbf8295f6 -->|calls| dec6e978_683d_a8e4_7ae5_e3e729d3253e style dec6e978_683d_a8e4_7ae5_e3e729d3253e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/context/properties/source/MockConfigurationPropertySource.java lines 39–40
public MockConfigurationPropertySource() {
}
Domain
Subdomains
Called By
- bindOrCreateWhenBindSuccessfulShouldReturnBoundValue()
- bindRenamedPropertyToClassBean()
- bindShouldBindWithoutHandler()
- bindShouldFailWithAccessToBoundProperties()
- bindShouldFailWithAccessToNameAndValue()
- bindShouldFailWithAccessToOrigin()
- bindShouldFailWithHandler()
- bindShouldNotValidateDepthGreaterThanZero()
- bindShouldNotValidateIfOtherHandlersInChainThrowError()
- bindShouldValidateIfOtherHandlersInChainIgnoreError()
- bindShouldValidateIfOtherHandlersInChainReplaceErrorWithResult()
- bindShouldValidateNestedProperties()
- bindToAbstractClassWithShouldNotBind()
- bindToAnnotationNamedConstructorParameter()
- bindToAnnotationNamedRecordComponent()
- bindToArrayShouldBindCharArray()
- bindToArrayShouldReturnArray()
- bindToArrayShouldReturnPrimitiveArray()
- bindToArrayShouldTriggerOnSuccess()
- bindToArrayShouldUsePropertyEditor()
- bindToArrayWhenCommaListAndIndexedShouldOnlyUseFirst()
- bindToArrayWhenCommaListShouldReturnPopulatedArray()
- bindToArrayWhenEmptyStringShouldReturnEmptyArray()
- bindToArrayWhenHasExistingCollectionShouldReplaceAllContents()
- bindToArrayWhenHasSpacesShouldTrim()
- bindToArrayWhenIndexedAndCommaListShouldOnlyUseFirst()
- bindToArrayWhenMultipleSourceShouldOnlyUseFirst()
- bindToArrayWhenNestedListShouldReturnPopulatedArray()
- bindToArrayWhenNestedShouldReturnPopulatedArray()
- bindToArrayWhenNoValueShouldReturnUnbound()
- bindToArrayWhenNonIterableShouldReturnPopulatedArray()
- bindToArrayWhenNonSequentialShouldThrowException()
- bindToArrayWhenNotInOrderShouldReturnPopulatedArray()
- bindToArrayWhenStringShouldUsePropertyEditor()
- bindToBeanWithClonedArray()
- bindToBeanWithCycle()
- bindToBeanWithEnumSetCollection()
- bindToBeanWithExceptionInGetterForExistingValue()
- bindToBeanWithExceptionInGetterForExistingValue()
- bindToBeanWithNestedCollectionAndNonIterableSourceShouldNotFail()
- bindToBeanWithNestedCollectionShouldPopulateCollection()
- bindToBeanWithUnresolvableGenerics()
- bindToClassShouldBindHierarchy()
- bindToClassShouldBindNested()
- bindToClassShouldBindNested()
- bindToClassShouldBindToCollection()
- bindToClassShouldBindToCollectionWithDelimiter()
- bindToClassShouldBindToList()
- bindToClassShouldBindToMap()
- bindToClassShouldBindToSet()
- bindToClassShouldBindWithGenerics()
- bindToClassShouldCacheWithGenerics()
- bindToClassShouldCreateBoundBean()
- bindToClassShouldCreateBoundBean()
- bindToClassShouldIgnoreInvalidAccessors()
- bindToClassShouldIgnoreStaticAccessors()
- bindToClassShouldLeaveDefaults()
- bindToClassShouldNotInvokeExtraMethods()
- bindToClassWhenHasNoPrefixShouldCreateBoundBean()
- bindToClassWhenHasNoPrefixShouldCreateBoundBean()
- bindToClassWhenHasNoSetterAndImmutableShouldThrowException()
- bindToClassWhenHasNoSetterShouldBindNested()
- bindToClassWhenHasNoSetterShouldBindToCollection()
- bindToClassWhenHasNoSetterShouldBindToList()
- bindToClassWhenHasNoSetterShouldBindToMap()
- bindToClassWhenHasNoSetterShouldBindToSet()
- bindToClassWhenHasPackagePrivateConstructorShouldBind()
- bindToClassWhenIterableShouldBindNestedBasedOnInstance()
- bindToClassWhenMismatchedGetSetShouldBind()
- bindToClassWhenNoDefaultConstructorShouldBind()
- bindToClassWhenNoParameterBoundShouldReturnNull()
- bindToClassWhenNotIterableShouldNotBindNestedBasedOnInstance()
- bindToClassWhenPropertiesMissingShouldReturnUnbound()
- bindToClassWhenPropertyCannotBeConvertedAndIgnoreErrorsShouldNotSetValue()
- bindToClassWhenPropertyCannotBeConvertedShouldThrowException()
- bindToClassWithMultipleConstructorsAndFilterShouldBind()
- bindToClassWithMultipleConstructorsShouldNotBind()
- bindToClassWithMultipleConstructorsWhenOnlyOneIsNotPrivateShouldBind()
- bindToClassWithNoValueAndDefaultValueShouldNotBind()
- bindToClassWithNoValueForPrimitiveShouldUseDefault()
- bindToClassWithOnlyDefaultConstructorShouldNotBind()
- bindToClassWithOverloadedSetterShouldUseSetterThatMatchesField()
- bindToClassWithOverriddenPropertyShouldSetSubclassProperty()
- bindToClassWithSelfReferenceShouldBind()
- bindToCollectionShouldAlsoCallSetterIfPresent()
- bindToCollectionShouldRespectCollectionType()
- bindToCollectionShouldReturnPopulatedCollection()
- bindToCollectionShouldTriggerOnSuccess()
- bindToCollectionShouldUsePropertyEditor()
- bindToCollectionWhenCommaListAndIndexedShouldOnlyUseFirst()
- bindToCollectionWhenCommaListShouldReturnPopulatedCollection()
- bindToCollectionWhenCommaListWithPlaceholdersShouldReturnPopulatedCollection()
- bindToCollectionWhenEmptyStringShouldReturnEmptyCollection()
- bindToCollectionWhenHasExistingCollectionButNoValueShouldReturnUnbound()
- bindToCollectionWhenHasExistingCollectionShouldReplaceAllContents()
- bindToCollectionWhenIndexedAndCommaListShouldOnlyUseFirst()
- bindToCollectionWhenItemContainsCommasShouldReturnPopulatedCollection()
- bindToCollectionWhenMultipleSourceShouldOnlyUseFirst()
- bindToCollectionWhenNestedShouldReturnPopulatedCollection()
- bindToCollectionWhenNoValueShouldReturnUnbound()
- bindToCollectionWhenNonIterableShouldReturnPopulatedCollection()
- bindToCollectionWhenNonKnownIndexedChildNotBoundThrowsException()
- bindToCollectionWhenNonSequentialShouldThrowException()
- bindToCollectionWhenNotInOrderShouldReturnPopulatedCollection()
- bindToCollectionWhenStringShouldUsePropertyEditor()
- bindToCollectionWithDefaultConstructor()
- bindToCollectionWithNoDefaultConstructor()
- bindToCustomMapWithoutCtorAndConverterShouldResolve()
- bindToEnumMapShouldBind()
- bindToExistingInstanceShouldLeaveDefaults()
- bindToImmutableCollectionShouldReturnPopulatedCollection()
- bindToImmutableMapShouldReturnPopulatedMap()
- bindToInstanceShouldBindToInstance()
- bindToInstanceWhenNoDefaultConstructorShouldBind()
- bindToInstanceWhenNoNestedShouldLeaveNestedAsNull()
- bindToInstanceWithExistingValueShouldReturnUnbound()
- bindToInstanceWithNoPropertiesShouldReturnUnbound()
- bindToJavaBeanShouldReturnPopulatedBean()
- bindToJavaBeanShouldTriggerOnSuccess()
- bindToJavaBeanWhenHandlerOnStartReturnsNullShouldReturnUnbound()
- bindToJavaBeanWhenHasPropertyWithSameNameShouldStillBind()
- bindToJavaBeanWhenNonIterableShouldReturnPopulatedBean()
- bindToJavaBeanWithPublicConstructor()
- bindToListIfUnboundElementsPresentShouldThrowException()
- bindToListOfMaps()
- bindToListShouldAllowDuplicateValues()
- bindToMapNonScalarCollectionShouldPopulateMap()
- bindToMapNonScalarCollectionWithDotKeysShouldBind()
- bindToMapShouldBeGreedyForScalars()
- bindToMapShouldBeGreedyForStrings()
- bindToMapShouldBindNestedMapValue()
- bindToMapShouldBindToMapValue()
- bindToMapShouldConvertKey()
- bindToMapShouldConvertMapValue()
- bindToMapShouldNotTreatClassWithStringConstructorAsScalar()
- bindToMapShouldRespectMapType()
- bindToMapShouldReturnPopulatedMap()
- bindToMapShouldTriggerOnSuccess()
- bindToMapStringArrayShouldTriggerOnSuccess()
- bindToMapStringArrayWithDotKeysAndCommaSeparatedShouldPreserveDot()
- bindToMapStringArrayWithDotKeysShouldPreserveDot()
- bindToMapStringCollectionWithDotKeysShouldPreserveDot()
- bindToMapWhenEmptyRootNameShouldBindMap()
- bindToMapWhenHasExistingMapShouldReplaceOnlyNewContents()
- bindToMapWhenMapValueIsObjectAndNoRootShouldBindNestedMapValue()
- bindToMapWhenMapValueIsObjectShouldBindNestedMapValue()
- bindToMapWhenMultipleCandidateShouldBindFirst()
- bindToMapWhenNoValueShouldReturnUnbound()
- bindToMapWithCustomConverter()
- bindToMapWithCustomConverterAndChildElements()
- bindToMapWithDefaultConstructor()
- bindToMapWithEmptyPrefix()
- bindToMapWithNoConverterForValue()
- bindToMapWithNoDefaultConstructor()
- bindToMapWithNumberKeyAndCommaSeparated()
- bindToMapWithNumberKeyAndIndexed()
- bindToMapWithPlaceholdersShouldBeGreedyForScalars()
- bindToMapWithPlaceholdersShouldResolve()
- bindToMapWithPropertyEditorForKey()
- bindToMapWithPropertyEditorForValue()
- bindToMapWithWildcardShouldConvertToTheRightType()
- bindToNestedCollectionWhenEmptyStringShouldReturnEmptyCollection()
- bindToNestedCollectionWhenNonKnownIndexed()
- bindToNonScalarCollectionShouldReturnPopulatedCollection()
- bindToNonScalarCollectionWhenNonSequentialShouldThrowException()
- bindToPackagePrivateClassShouldBindToInstance()
- bindToPropertiesShouldBeEquivalentToMapOfStringString()
- bindToRecordWithDefaultValue()
- bindToSetShouldNotAllowDuplicateValues()
- bindToSetShouldReturnPopulatedCollection()
- bindToValueShouldReturnConvertedPropertyValue()
- bindToValueShouldReturnPropertyValue()
- bindToValueShouldReturnPropertyValueFromSecondSource()
- bindToValueShouldTriggerOnSuccess()
- bindToValueWhenMultipleCandidatesShouldReturnFirst()
- bindToValueWhenPropertyIsMissingShouldReturnUnbound()
- bindToValueWithCustomPropertyEditorShouldReturnConvertedValue()
- bindToValueWithMissingPlaceholderShouldResolveToValueWithPlaceholder()
- bindToValueWithPlaceholdersShouldResolve()
- bindUsesConsistentPropertyOrder()
- bindWhenAllPropertiesBoundShouldClearConfigurationProperty()
- bindWhenBeanWithGetIsMethodsFoundDoesNotUseIsGetter()
- bindWhenBeanWithGetSetIsMethodsFoundUsesGetterThatMatchesSetter()
- bindWhenBindingToPathTypeWithDefaultValue()
- bindWhenBindingToPathTypeWithValue()
- bindWhenExceptionInNestedContextShouldFail()
- bindWhenExceptionNotIgnorableShouldFail()
- bindWhenHasAnnotationsShouldChangeConvertedValue()
- bindWhenHasBridgeMethods()
- bindWhenHasCustomDefaultHandlerShouldTriggerOnSuccess()
- bindWhenHasMalformedDateShouldThrowException()
- bindWhenHasPackagePrivateSetterShouldBind()
- bindWhenNonExtractableParameterNamesOnPropertyAndNonIterablePropertySource()
- bindWhenNotUsingNoUnboundElementsHandlerShouldBind()
- bindWhenOptionalParameterInNestedWithNoValueForPrimitiveShouldReturnEmptyInstance()
- bindWhenUsingNoUnboundElementsHandlerAndUnboundCollectionElementsWithInvalidPropertyShouldThrowException()
- bindWhenUsingNoUnboundElementsHandlerAndUnboundListElementsShouldThrowException()
- bindWhenUsingNoUnboundElementsHandlerShouldBind()
- bindWhenUsingNoUnboundElementsHandlerShouldBindIfPrefixDifferent()
- bindWhenUsingNoUnboundElementsHandlerShouldBindIfUnboundCollectionProperties()
- bindWhenUsingNoUnboundElementsHandlerShouldBindIfUnboundNestedCollectionProperties()
- bindWhenUsingNoUnboundElementsHandlerShouldBindIfUnboundSystemProperties()
- bindWhenUsingNoUnboundElementsHandlerThrowException()
- bindWhenValueIsConvertedWithPropertyEditorShouldBind()
- bindWithAnnotations()
- bindWithAnnotations()
- bindWithAnnotationsAndDefaultValue()
- bindingWithSquareBracketMap()
- createWhenNonExtractableParameterNamesOnPropertyAndNonIterablePropertySource()
- handlerShouldCallRecordBindingIfConfigurationPropertyIsNotNull()
- isEnforcedWhenBinderPropertyDoesNotMatchReturnsFalse()
- isEnforcedWhenBinderPropertyIsMissingReturnsFalse()
- isEnforcedWhenBinderPropertyMatchesReturnsTrue()
- nestedMapsShouldNotBindToNull()
- setup()
- setup()
- validateMapValues()
- validationErrorsForCamelCaseFieldsShouldContainRejectedValue()
- validationShouldBeSkippedIfPreviousValidationErrorPresent()
Source
Frequently Asked Questions
What does MockConfigurationPropertySource() do?
MockConfigurationPropertySource() is a function in the spring-boot codebase.
What does MockConfigurationPropertySource() call?
MockConfigurationPropertySource() calls 2 function(s): of, put.
What calls MockConfigurationPropertySource()?
MockConfigurationPropertySource() is called by 219 function(s): bindOrCreateWhenBindSuccessfulShouldReturnBoundValue, bindRenamedPropertyToClassBean, bindShouldBindWithoutHandler, bindShouldFailWithAccessToBoundProperties, bindShouldFailWithAccessToNameAndValue, bindShouldFailWithAccessToOrigin, bindShouldFailWithHandler, bindShouldNotValidateDepthGreaterThanZero, and 211 more.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free