MediaPlayer { public LiveMedia LiveMedia() { if (liveMedia == null) { liveMedia = new LiveMedia(this); } return liveMedia; } MediaPlayer(Tracker tracker); Media Media(); LiveMedia LiveMedia(); Videos Videos(); Audios Audios(); LiveVideos LiveVideos(); LiveAudios LiveAudios(); int getPlayerId(); MediaPlayer setPlayerId(int playerId);  }
@Test public void getLiveMediaTest() { LiveMedia liveMedia = mediaPlayer.LiveMedia(); assertNotNull(mediaPlayer.LiveMedia()); assertSame(liveMedia, mediaPlayer.LiveMedia()); }