// Path: honeybadger-java/src/main/java/io/honeybadger/util/HBCollectionUtils.java
// public final class HBCollectionUtils {
//     private HBCollectionUtils() { }
// 
//     /**
//      * Checks a collection to see if it is null or empty.
//      * @param collection Collection to check
//      * @return true if null or empty
//      */
//     public static boolean isPresent(final Collection<?> collection) {
//         return collection != null && !collection.isEmpty();
//     }
// 
//     /**
//      * Parses a comma separated string into a collection of values.
//      * This is not a real CSV parser. This is a toy used for processing
//      * configuration values that should never have embedded commas or
//      * quotation marks.
//      *
//      * @param csv CSV string input
//      * @return a collection of values base on CSV
//      */
//     public static Collection<String> parseNaiveCsvString(final String csv) {
//         if (!HBStringUtils.isPresent(csv)) {
//             return Collections.emptyList();
//         }
// 
//         final String[] values = csv.split("(\\s*),(\\s*)");
//         return Arrays.asList(values);
//     }
// }


import io.honeybadger.util.HBCollectionUtils;
import org.junit.Test;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
package io.honeybadger.reporter.util;




public class HBCollectionUtilsTest {
    @Test
    public void canParseEmptyCSV() {
        String csv = "";
// Path: honeybadger-java/src/main/java/io/honeybadger/util/HBCollectionUtils.java
// public final class HBCollectionUtils {
//     private HBCollectionUtils() { }
// 
//     /**
//      * Checks a collection to see if it is null or empty.
//      * @param collection Collection to check
//      * @return true if null or empty
//      */
//     public static boolean isPresent(final Collection<?> collection) {
//         return collection != null && !collection.isEmpty();
//     }
// 
//     /**
//      * Parses a comma separated string into a collection of values.
//      * This is not a real CSV parser. This is a toy used for processing
//      * configuration values that should never have embedded commas or
//      * quotation marks.
//      *
//      * @param csv CSV string input
//      * @return a collection of values base on CSV
//      */
//     public static Collection<String> parseNaiveCsvString(final String csv) {
//         if (!HBStringUtils.isPresent(csv)) {
//             return Collections.emptyList();
//         }
// 
//         final String[] values = csv.split("(\\s*),(\\s*)");
//         return Arrays.asList(values);
//     }
// }


// Path: honeybadger-java/src/test/java/io/honeybadger/reporter/util/HBCollectionUtilsTest.java
import io.honeybadger.util.HBCollectionUtils;
import org.junit.Test;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;

package io.honeybadger.reporter.util;




public class HBCollectionUtilsTest {
    @Test
    public void canParseEmptyCSV() {
        String csv = "";
        Collection<String> actual = HBCollectionUtils.parseNaiveCsvString(csv);