123456789101112131415161718192021222324 |
-
-
- import org.junit.Assert;
- import org.junit.After;
- import org.junit.Before;
- import org.junit.Test;
-
- /**
- * The test class FishTest.
- *
- * @author (your name)
- * @version (a version number or a date)
- */
- public class FishTest
- {
- @Test
- public void testFishSpeak(){
- Pet test = new Fish("test");
- String expected = "blublublu";
- String actual = test.speak();
- Assert.assertEquals(expected,actual);
- }
- }
|