### Question:
MovieAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.media.MovieListener { public void movieStarted(org.apache.pivot.wtk.media.Movie arg0) { if (movieStarted != null) { movieStarted.call(arg0); } }  CallableWithArgs<Void> getRegionUpdated(); CallableWithArgs<Void> getBaselineChanged(); CallableWithArgs<Void> getSizeChanged(); CallableWithArgs<Void> getCurrentFrameChanged(); CallableWithArgs<Void> getLoopingChanged(); CallableWithArgs<Void> getMovieStarted(); CallableWithArgs<Void> getMovieStopped(); void setRegionUpdated(CallableWithArgs<Void> regionUpdated); void setBaselineChanged(CallableWithArgs<Void> baselineChanged); void setSizeChanged(CallableWithArgs<Void> sizeChanged); void setCurrentFrameChanged(CallableWithArgs<Void> currentFrameChanged); void setLoopingChanged(CallableWithArgs<Void> loopingChanged); void setMovieStarted(CallableWithArgs<Void> movieStarted); void setMovieStopped(CallableWithArgs<Void> movieStopped); void regionUpdated(org.apache.pivot.wtk.media.Movie arg0, int arg1, int arg2, int arg3, int arg4); void baselineChanged(org.apache.pivot.wtk.media.Movie arg0, int arg1); void sizeChanged(org.apache.pivot.wtk.media.Movie arg0, int arg1, int arg2); void currentFrameChanged(org.apache.pivot.wtk.media.Movie arg0, int arg1); void loopingChanged(org.apache.pivot.wtk.media.Movie arg0); void movieStarted(org.apache.pivot.wtk.media.Movie arg0); void movieStopped(org.apache.pivot.wtk.media.Movie arg0);  }### Answer:
@Test public void testMovieStarted() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getMovieStarted()); adapter.movieStarted(null); assertFalse(invoked[0]); adapter.setMovieStarted(callable); adapter.movieStarted(null); assertTrue(invoked[0]); }