open static fun retrieveProfileValueSource(testClass: Class<*>): ProfileValueSource
Retrieves the ProfileValueSource type for the specified Class as configured via the ProfileValueSourceConfiguration annotation and instantiates a new instance of that type.
If ProfileValueSourceConfiguration is not present on the specified class or if a custom ProfileValueSource is not declared, the default SystemProfileValueSource will be returned instead.
testClass - The test class for which the ProfileValueSource should be retrieved
Return
the configured (or default) ProfileValueSource for the specified class
See Also
SystemProfileValueSource