@@ -0,0 +1,2395 @@
+package io.tracee;%0A%0Aimport org.hamcrest.Matchers;%0Aimport org.junit.Test;%0A%0Aimport static org.hamcrest.MatcherAssert.assertThat;%0Aimport static org.hamcrest.Matchers.equalTo;%0Aimport static org.hamcrest.Matchers.lessThan;%0A%0A/**%0A * @author Simon Spr%C3%BCnker (Holisticon AG)%0A */%0Apublic class ThreadLocalRandomTest %7B%0A%0A    private static final ThreadLocalRandom random = new ThreadLocalRandom();%0A%0A    @Test(expected = IllegalArgumentException.class)%0A    public void nextLong_should_throw_illegalArgumentException_if_n_is_zero() %7B%0A        random.nextLong(0);%0A    %7D%0A%0A    @Test(expected = IllegalArgumentException.class)%0A    public void nextLong_should_throw_illegalArgumentException_if_n_is_subzero() %7B%0A        random.nextLong(-1);%0A    %7D%0A%0A    @Test%0A    public void nextLong_is_one_if_n_is_one() %7B%0A        assertThat(random.nextLong(1), equalTo(0L));%0A    %7D%0A%0A    @Test%0A    public void nextLong_is_less_than_n() %7B%0A        assertThat(random.nextLong(42), lessThan(42L));%0A    %7D%0A%0A    @Test%0A    public void nextLong_is_less_than_integer_max_if_n_is_greater_than_integer_max() %7B%0A        assertThat(random.nextLong(Integer.MAX_VALUE + 42L), lessThan((long)Integer.MAX_VALUE));%0A    %7D%0A%0A    @Test(expected = IllegalArgumentException.class)%0A    public void nextLong_throws_illegalArgumentException_if_upper_bound_less_than_lower_bound() %7B%0A        random.nextLong(Integer.MAX_VALUE + 42L, Integer.MAX_VALUE + 23L);%0A    %7D%0A%0A    @Test(expected = IllegalArgumentException.class)%0A    public void nextLong_throws_illegalArgumentException_if_upper_bound_equals_lower_bound() %7B%0A        random.nextLong(Integer.MAX_VALUE + 42L, Integer.MAX_VALUE + 42L);%0A    %7D%0A%0A    @Test%0A    public void nextLong_equals_lower_bound_if_upper_bound_equals_lower_bound_plus_one() %7B%0A        assertThat(random.nextLong(Integer.MAX_VALUE + 42L, Integer.MAX_VALUE + 43L), equalTo(Integer.MAX_VALUE + 42L));%0A    %7D%0A%0A    @Test(expected = IllegalArgumentException.class)%0A    public void nextInt_throws_illegalArgumentException_if_upper_bound_less_than_lower_bound() %7B%0A        random.nextInt(42, 23);%0A    %7D%0A%0A    @Test(expected = IllegalArgumentException.class)%0A    public void nextInt_throws_illegalArgumentException_if_upper_bound_equals_lower_bound() %7B%0A        random.nextInt(42, 42);%0A    %7D%0A%0A    @Test%0A    public void nextInt_equals_lower_bound_if_upper_bound_equals_lower_bound_plus_one() %7B%0A        assertThat(random.nextInt(42, 43), equalTo(42));%0A    %7D%0A%0A%0A%7D%0A

Enhance unit testing up to 85%