| 123456789101112131415161718 |
-
-
- import static org.junit.Assert.*;
- import org.junit.After;
- import org.junit.Before;
- import org.junit.Test;
-
- public class CatTest
- {
- @Test
- public void testCatSpeak() {
- Pet test = new Cat("Test");
- String expected = "Meow";
- String actual = test.speak();
- assertEquals(expected, actual);
- }
- }
|