<commit_before>package com.spectralogic.ds3client.utils;

import com.google.common.collect.Lists;
import org.junit.Test;

import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;

public class Guard_Test {

    @Test
    public void testCollectionNull() {
        assertTrue(Guard.isNullOrEmpty(null));
    }

    @Test
    public void testCollectionEmpty() {
        assertTrue(Guard.isNullOrEmpty(Lists.newArrayList()));
    }

    @Test
    public void testNotEmptyCollection() {
        assertFalse(Guard.isNullOrEmpty(Lists.newArrayList("hi")));
    }
}<commit_msg>Made sure there were negative and positive cases for both guard methods<commit_after>package com.spectralogic.ds3client.utils;

import com.google.common.collect.Lists;
import org.junit.Test;

import java.util.List;

import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;

public class Guard_Test {

    @Test
    public void testCollectionNull() {
        assertTrue(Guard.isNullOrEmpty(null));
        assertFalse(Guard.isNotNullAndNotEmpty(null));
    }

    @Test
    public void testCollectionEmpty() {
        final List<String> data = Lists.newArrayList();
        assertTrue(Guard.isNullOrEmpty(data));
        assertFalse(Guard.isNotNullAndNotEmpty(data));
    }

    @Test
    public void testNotEmptyCollection() {
        final List<String> data = Lists.newArrayList("hi");
        assertFalse(Guard.isNullOrEmpty(data));
        assertTrue(Guard.isNotNullAndNotEmpty(data));
    }
}
{'fraction_non_alphanumeric': 0.10550458715596331, 'fraction_numerical': 0.001310615989515072, 'mean_word_length': 3.7868338557993733, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '680001', 'n_tokens_mistral': 448, 'n_tokens_neox': 443, 'n_words': 84}