TestMockSession::getOption

Gets an option.