<commit_before>package org.ciwise.blackhole.web.rest;

import org.ciwise.blackhole.BlackholeApp;
import org.ciwise.blackhole.domain.GenJournal;
import org.ciwise.blackhole.service.GenJournalService;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.hamcrest.Matchers.hasItem;
import org.mockito.MockitoAnnotations;
import org.springframework.boot.test.IntegrationTest;
import org.springframework.boot.test.SpringApplicationConfiguration;
import org.springframework.http.MediaType;
import org.springframework.http.converter.json.MappingJackson2HttpMessageConverter;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.web.PageableHandlerMethodArgumentResolver;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.test.context.web.WebAppConfiguration;
import org.springframework.test.util.ReflectionTestUtils;
import org.springframework.test.web.servlet.MockMvc;
import org.springframework.test.web.servlet.setup.MockMvcBuilders;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.PostConstruct;
import javax.inject.Inject;
import java.time.LocalDate;
import java.time.ZoneId;
import java.util.List;

import static org.assertj.core.api.Assertions.assertThat;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.*;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.*;


/**
 * Test class for the LedgerEntryResource REST controller.
 *
 * @see GenJournalResource
 */
@RunWith(SpringJUnit4ClassRunner.class)
@SpringApplicationConfiguration(classes = BlackholeApp.class)
@WebAppConfiguration
@IntegrationTest
public class LedgerEntryResourceIntTest {


    private static final LocalDate DEFAULT_ENTRYDATE = LocalDate.ofEpochDay(0L);
    private static final LocalDate UPDATED_ENTRYDATE = LocalDate.now(ZoneId.systemDefault());
    private static final String DEFAULT_TRANSACTION = "AAAAA";
    private static final String UPDATED_TRANSACTION = "BBBBB";
    private static final String DEFAULT_DACCTNO = "AAAAA";
    private static final String UPDATED_DACCTNO = "BBBBB";
    private static final String DEFAULT_CACCTNO = "AAAAA";
    private static final String UPDATED_CACCTNO = "BBBBB";
    private static final String DEFAULT_DADEBIT = "AAAAA";
    private static final String UPDATED_DADEBIT = "BBBBB";
    private static final String DEFAULT_DACREDIT = "AAAAA";
    private static final String UPDATED_DACREDIT = "BBBBB";
    private static final String DEFAULT_CADEBIT = "AAAAA";
    private static final String UPDATED_CADEBIT = "BBBBB";
    private static final String DEFAULT_CACREDIT = "AAAAA";
    private static final String UPDATED_CACREDIT = "BBBBB";<commit_msg>Test changes to support ZonedDateTime changes<commit_after>package org.ciwise.blackhole.web.rest;

import static org.assertj.core.api.Assertions.assertThat;
import static org.hamcrest.Matchers.hasItem;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.delete;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.post;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.put;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.content;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.jsonPath;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;

import java.time.ZoneId;
import java.time.ZonedDateTime;
import java.util.List;

import javax.annotation.PostConstruct;
import javax.inject.Inject;

import org.ciwise.blackhole.BlackholeApp;
import org.ciwise.blackhole.domain.GenJournal;
import org.ciwise.blackhole.service.GenJournalService;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.MockitoAnnotations;
import org.springframework.boot.test.IntegrationTest;
import org.springframework.boot.test.SpringApplicationConfiguration;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.web.PageableHandlerMethodArgumentResolver;
import org.springframework.http.MediaType;
import org.springframework.http.converter.json.MappingJackson2HttpMessageConverter;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.test.context.web.WebAppConfiguration;
import org.springframework.test.util.ReflectionTestUtils;
import org.springframework.test.web.servlet.MockMvc;
import org.springframework.test.web.servlet.setup.MockMvcBuilders;
import org.springframework.transaction.annotation.Transactional;


/**
 * Test class for the LedgerEntryResource REST controller.
 *
 * @see GenJournalResource
 */
@RunWith(SpringJUnit4ClassRunner.class)
@SpringApplicationConfiguration(classes = BlackholeApp.class)
@WebAppConfiguration
@IntegrationTest
public class LedgerEntryResourceIntTest {


//    private static final LocalDate DEFAULT_ENTRYDATE = LocalDate.ofEpochDay(0L);
//    private static final LocalDate UPDATED_ENTRYDATE = LocalDate.now(ZoneId.systemDefault());

    private static final ZonedDateTime DEFAULT_ENTRYDATE = ZonedDateTime.now(ZoneId.of("Europe/Paris"));
    private static final ZonedDateTime UPDATED_ENTRYDATE = ZonedDateTime.now();

    private static final String DEFAULT_TRANSACTION = "AAAAA";
    private static final String UPDATED_TRANSACTION = "BBBBB";
    private static final String DEFAULT_DACCTNO = "AAAAA";
    private static final String UPDATED_DACCTNO = "BBBBB";
    private static final String DEFAULT_CACCTNO = "AAAAA";
    private static final String UPDATED_CACCTNO = "BBBBB";
    private static final String DEFAULT_DADEBIT = "AAAAA";
    private static final String UPDATED_DADEBIT = "BBBBB";
    private static final String DEFAULT_DACREDIT = "AAAAA";
    private static final String UPDATED_DACREDIT = "BBBBB";
    private static final String DEFAULT_CADEBIT = "AAAAA";
    private static final String UPDATED_CADEBIT = "BBBBB";
    private static final String DEFAULT_CACREDIT = "AAAAA";
    private static final String UPDATED_CACREDIT = "BBBBB";
{'fraction_non_alphanumeric': 0.08418407413224438, 'fraction_numerical': 0.001570598397989634, 'mean_word_length': 6.244596131968145, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4742904', 'n_tokens_mistral': 1794, 'n_tokens_neox': 1780, 'n_words': 385}