spring-framework / org.springframework.mock.jndi / ExpectedLookupTemplate / addObject
addObject
open fun addObject(name: String, object: Any): Unit
Add the given object to the list of JNDI objects that this template will expose.
Parameters
name - the name the client is expected to look up
object - the object that will be returned