### Question:
CoreUtils { public static String cleanUpLog(String log) { try { final int index = StringUtils.indexOf(log, "client_secret"); if (index != -1) { final int commaIndex = StringUtils.indexOf(log, ",", index + 1); return log.substring(0, index - 1) + log.substring(commaIndex + 1, log.length()); } } catch (Exception e) { LOG.error(e.getMessage(), e); } return log; } private  CoreUtils(); static boolean isExpired(Date expiredAt); static ScheduledExecutorService createExecutor(); static ThreadFactory daemonThreadFactory(); static void sleep(int i); static long parseSilently(String p_str); static String normalizeLengthPrefixString(int p_length); static ReadResult readCommand(String p_leftString, BufferedReader p_reader); static boolean allNotBlank(String... p_strings); static HttpClient createHttpClientWithKeyStore(File trustStoreFile, String trustStorePassword, String[] tlsVersions, String[] tlsSecureCiphers, Optional<ProxyConfiguration> proxyConfiguration); static HttpClient createHttpClientForMutualAuthentication(File trustStoreFile, String trustStorePassword, File mtlsClientKeyStoreFile, String mtlsClientKeyStorePassword, String[] tlsVersions, String[] tlsSecureCiphers, Optional<ProxyConfiguration> proxyConfiguration); static HttpClient createHttpClientTrustAll(Optional<ProxyConfiguration> proxyConfiguration, String[] tlsVersions, String[] tlsSecureCiphers); static HttpClient createClientFallback(Optional<ProxyConfiguration> proxyConfiguration); static HttpClient createClient(SSLConnectionSocketFactory connectionFactory, Optional<ProxyConfiguration> proxyConfiguration); static String secureRandomString(); static Map<String, String> splitQuery(String url); static Map<String, String> splitQuery(URL url); static String cleanUpLog(String log); static final String DOC_URL; static final String UTF8; static final int COMMAND_STR_LENGTH_SIZE; static final int BUFFER_SIZE; }### Answer:
@Test public void cleanUpLogs() { Assert.assertEquals("{'client_name':'name', 'oxd_id':'test_id'}", CoreUtils.cleanUpLog("{'client_name':'name', 'client_secret':'secret', 'oxd_id':'test_id'}")); }