コード例 #1
0
 @Test
 public final void testSetArtist() {
   testGetArtist();
   siExtended.setArtist("Steven");
   assertEquals("Steven", siExtended.getArtist());
 }
コード例 #2
0
 @Test
 public final void testSongInfo() {
   assertEquals(null, siBasic.getArtist());
   assertEquals(null, siBasic.getTitle());
 }
コード例 #3
0
 @Test
 public final void testGetArtist() {
   assertEquals("Hendrik", siExtended.getArtist());
 }
コード例 #4
0
 @Test
 public final void testSongInfoStringString() {
   assertEquals("Hendrik", siExtended.getArtist());
   assertEquals("I only sing in the shower", siExtended.getTitle());
 }