@Test public void testFocusWhenLazyLoadIsEmpty() { utils.releaseFocus(); verify(canvasFocusUtils, never()).focus(anyString()); }
public void releaseFocus() { getFocusedNodeUUID().ifPresent(canvasFocusUtils::focus); releaseNodeUUID(); }
LazyCanvasFocusUtils { public void releaseFocus() { getFocusedNodeUUID().ifPresent(canvasFocusUtils::focus); releaseNodeUUID(); } }
LazyCanvasFocusUtils { public void releaseFocus() { getFocusedNodeUUID().ifPresent(canvasFocusUtils::focus); releaseNodeUUID(); } LazyCanvasFocusUtils(); @Inject  LazyCanvasFocusUtils(final CanvasFocusUtils canvasFocusUtils); }
LazyCanvasFocusUtils { public void releaseFocus() { getFocusedNodeUUID().ifPresent(canvasFocusUtils::focus); releaseNodeUUID(); } LazyCanvasFocusUtils(); @Inject  LazyCanvasFocusUtils(final CanvasFocusUtils canvasFocusUtils); void lazyFocus(final String nodeUUID); void releaseFocus(); }
LazyCanvasFocusUtils { public void releaseFocus() { getFocusedNodeUUID().ifPresent(canvasFocusUtils::focus); releaseNodeUUID(); } LazyCanvasFocusUtils(); @Inject  LazyCanvasFocusUtils(final CanvasFocusUtils canvasFocusUtils); void lazyFocus(final String nodeUUID); void releaseFocus();  }