@@ -0,0 +1,1721 @@
+package com.voxeo.tropo;%0A%0Aimport static org.junit.Assert.assertEquals;%0A%0Aimport org.junit.Test;%0A%0Apublic class HangupTest %7B%0A%0A  @Test%0A  public void testHangup() %7B%0A%0A    Tropo tropo = new Tropo();%0A    tropo.hangup();%0A%0A    assertEquals(tropo.text(), %22%7B%5C%22tropo%5C%22:%5B%7B%5C%22hangup%5C%22:null%7D%5D%7D%22);%0A  %7D%0A%0A  @Test%0A  public void testHangupWithSay() %7B%0A%0A    Tropo tropo = new Tropo();%0A    tropo.say(Key.NAME(%22say1%22), Key.VALUE(%22Hello,this is tropo.com%22));%0A    tropo.hangup();%0A    tropo.say(Key.NAME(%22say2%22), Key.VALUE(%0A        %22Tropo makes it easy to add capabilities like calls, text messages, and conferences into any application or business process.%22));%0A%0A    assertEquals(tropo.text(),%0A        %22%7B%5C%22tropo%5C%22:%5B%7B%5C%22say%5C%22:%5B%7B%5C%22name%5C%22:%5C%22say1%5C%22,%5C%22value%5C%22:%5C%22Hello,this is tropo.com%5C%22%7D%5D%7D,%7B%5C%22hangup%5C%22:null%7D,%7B%5C%22say%5C%22:%5B%7B%5C%22name%5C%22:%5C%22say2%5C%22,%5C%22value%5C%22:%5C%22Tropo makes it easy to add capabilities like calls, text messages, and conferences into any application or business process.%5C%22%7D%5D%7D%5D%7D%22);%0A  %7D%0A%0A  @Test%0A  public void testHangupWithCall() %7B%0A    Tropo tropo = new Tropo();%0A    tropo.call(%22call%22, %22+14155551212%22);%0A    tropo.say(Key.NAME(%22say1%22), Key.VALUE(%22Hello,this is tropo.com%22));%0A    tropo.hangup();%0A    tropo.say(Key.NAME(%22say2%22), Key.VALUE(%0A        %22Tropo makes it easy to add capabilities like calls, text messages, and conferences into any application or business process.%22));%0A%0A    assertEquals(tropo.text(),%0A        %22%7B%5C%22tropo%5C%22:%5B%7B%5C%22call%5C%22:%7B%5C%22name%5C%22:%5C%22call%5C%22,%5C%22to%5C%22:%5C%22+14155551212%5C%22%7D%7D,%7B%5C%22say%5C%22:%5B%7B%5C%22name%5C%22:%5C%22say1%5C%22,%5C%22value%5C%22:%5C%22Hello,this is tropo.com%5C%22%7D%5D%7D,%7B%5C%22hangup%5C%22:null%7D,%7B%5C%22say%5C%22:%5B%7B%5C%22name%5C%22:%5C%22say2%5C%22,%5C%22value%5C%22:%5C%22Tropo makes it easy to add capabilities like calls, text messages, and conferences into any application or business process.%5C%22%7D%5D%7D%5D%7D%22);%0A  %7D%0A%7D%0A

Add some JUnit test cases