package is.ru.sparkit;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import org.junit.Test;

public class ChuckJokeTest {

    final ChuckJoke chuck = new ChuckJoke();    

    @Test
    public void chuckNorrisNameInRandomJoke(){
        String name = "Chuck Norris";
        assertTrue(chuck.getRandom().contains(name));
    }

    @Test
    public void specificJokeById(){
        String chuckJoke = chuck.getSpecific(15);
        String joke = "When Chuck Norris goes to donate blood, he declines the syringe, and instead requests a hand gun and a bucket.";
        assertEquals(chuckJoke, joke);
    }
}

@@ -460,9 +460,8 @@
 fic(
-1
 5);%0A
@@ -487,13 +487,8 @@
  = %22
-When 
 Chuc
@@ -500,99 +500,45 @@
 ris 
-goes to donate blood, he declines the syringe, and instead requests a hand gun and a bucket
+lost his virginity before his dad did
 .%22;%0A

Use a shorter joke for test