DefaultMediaClock implements MediaClock { public void start() { standaloneClockIsStarted = true; standaloneClock.start(); } DefaultMediaClock(PlaybackParameterListener listener, Clock clock); void start(); void stop(); void resetPosition(long positionUs); void onRendererEnabled(Renderer renderer); void onRendererDisabled(Renderer renderer); long syncAndGetPositionUs(boolean isReadingAhead); @Override long getPositionUs(); @Override void setPlaybackParameters(PlaybackParameters playbackParameters); @Override PlaybackParameters getPlaybackParameters();  }
@Test public void standaloneStart_shouldStartClock() throws Exception { mediaClock.start(); assertClockIsRunning( false); }