Пример #1
0
 @Test
 public void toStringReturnsNameAndTime() {
   assertEquals("name 10:20", score.toString());
 }
Пример #2
0
 @Test
 public void initalGettersReturnCorrectValues() {
   assertEquals("10:20", score.getTime());
   assertEquals("name", score.getName());
 }