toContext

public Context toContext(Array<String> ignoreKeys)(source)

Returns a Context containing all available keys and their values. Useful for writing Tests.

If some keys should not be visible in the output, they can be ignored by passing them as parameters.

Return

a Context containing all available keys and their values.

Parameters

ignoreKeys

keys to ignore for the output