spring-framework / org.springframework.mock.env / MockPropertySource / setProperty

setProperty

open fun setProperty(name: String, value: Any): Unit

Set the given property on the underlying Properties object.