import org.junit.Assert; import org.junit.After; import org.junit.Before; import org.junit.Test; /** * The test class CapybaraTest. * * @author (your name) * @version (a version number or a date) */ public class CapybaraTest { Capybara rocky; @Before public void setup(){ rocky = new Capybara("Rocky Pal-boa"); } @Test public void speak() { String expected = "???"; String actual = rocky.speak(); Assert.assertEquals(expected, actual); } @Test public void name() { String expected = "Rocky Pal-boa"; String actual = rocky.getName(); Assert.assertEquals(expected, actual); } }