### Question:
SplitPaneAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.SplitPaneListener { public void lockedChanged(org.apache.pivot.wtk.SplitPane arg0) { if (lockedChanged != null) { lockedChanged.call(arg0); } }  CallableWithArgs<Void> getTopLeftChanged(); CallableWithArgs<Void> getBottomRightChanged(); CallableWithArgs<Void> getPrimaryRegionChanged(); CallableWithArgs<Void> getSplitRatioChanged(); CallableWithArgs<Void> getLockedChanged(); CallableWithArgs<Void> getResizeModeChanged(); CallableWithArgs<Void> getOrientationChanged(); void setTopLeftChanged(CallableWithArgs<Void> topLeftChanged); void setBottomRightChanged(CallableWithArgs<Void> bottomRightChanged); void setPrimaryRegionChanged(CallableWithArgs<Void> primaryRegionChanged); void setSplitRatioChanged(CallableWithArgs<Void> splitRatioChanged); void setLockedChanged(CallableWithArgs<Void> lockedChanged); void setResizeModeChanged(CallableWithArgs<Void> resizeModeChanged); void setOrientationChanged(CallableWithArgs<Void> orientationChanged); void topLeftChanged(org.apache.pivot.wtk.SplitPane arg0, org.apache.pivot.wtk.Component arg1); void bottomRightChanged(org.apache.pivot.wtk.SplitPane arg0, org.apache.pivot.wtk.Component arg1); void primaryRegionChanged(org.apache.pivot.wtk.SplitPane arg0); void splitRatioChanged(org.apache.pivot.wtk.SplitPane arg0, float arg1); void lockedChanged(org.apache.pivot.wtk.SplitPane arg0); void resizeModeChanged(org.apache.pivot.wtk.SplitPane arg0, org.apache.pivot.wtk.SplitPane.ResizeMode arg1); void orientationChanged(org.apache.pivot.wtk.SplitPane arg0);  }### Answer:
@Test public void testLockedChanged() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getLockedChanged()); adapter.lockedChanged(null); assertFalse(invoked[0]); adapter.setLockedChanged(callable); adapter.lockedChanged(null); assertTrue(invoked[0]); }