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