import junit.framework.TestCase;
import org.junit.After;
import org.junit.Before;

import static org.junit.Assert.*;

/**
 * Created by pt2121 on 7/4/15.
 */
public class ActressTest extends TestCase {

    @Before
    public void setUp() throws Exception {

    }

    @After
    public void tearDown() throws Exception {

    }
}
@@ -80,43 +80,8 @@
 e;%0A%0A
-import static org.junit.Assert.*;%0A%0A
 /**%0A
@@ -157,24 +157,46 @@
 TestCase %7B%0A%0A
+    Actress actress;%0A%0A
     @Before%0A
@@ -234,24 +234,1605 @@
 Exception %7B%0A
+        Script script1 = Script.blank();%0A        Script script2 = Script.blank();%0A%0A        actress = Actress.with(script1);%0A%0A        String%5B%5D companies = %7B%22Google%22, %22Apple%22, %22Microsoft%22%7D;%0A%0A        script1.whenHear(%22Hello%22).say(%22Hi%22)%0A                .whenHear(%22How are you?%22).say(%22I am fine.%22)%0A                .whenHear(%22I am so bored and sleepy.%22).say(%22Me too.%22)%0A                .whenHearKeyword(%22haha%22).say(%22LOL%22)%0A                .whenHear(companies).say(%22The tech giant?%22)%0A                .whenHearKeywords(companies).say(%22hmm tech giants?%22)%0A                .whenHearKeyword(%22borrow%22).say(%22how much?%22, () -%3E actress.setScript(script2))%0A                .ignoreCase(true)%0A                .build();%0A%0A        script2.whenHearKeyword(%22dollars%22).say(%22sure%22)%0A                .ignoreCase(true)%0A                .build();%0A    %7D%0A%0A    public void testWhenHear() %7B%0A        assertEquals(actress.respond(%22hello%22).line, %22Hi%22);%0A        assertEquals(actress.respond(%22how are you?%22).line, %22I am fine.%22);%0A        assertEquals(actress.respond(%22google%22).line, %22The tech giant?%22);%0A    %7D%0A%0A    public void testWhenHearKeyword() %7B%0A        assertEquals(actress.respond(%22apple%22).line, %22The tech giant?%22);%0A        assertEquals(actress.respond(%22it's so funny. haha%22).line, %22LOL%22);%0A        assertEquals(actress.respond(%22Google vs Apple%22).line, %22hmm tech giants?%22);%0A    %7D%0A%0A    public void testCallback() %7B%0A        Response response = actress.respond(%22borrow%22);%0A        assertEquals(response.line, %22how much?%22);%0A        response.callback.call();%0A        assertEquals(actress.respond(%22100 dollars%22).line, %22sure%22);
 %0A    %7D%0A%0A    

Complete test cases