/*
* client bundle mock will only get created in the first class
* initialization because it is bound to a constant.
*/
mock(DragClientBundle.class); // call to trigger class loading
DragClientBundle clientBundle = bridge
.getCreatedMock(DragClientBundle.class);
if (clientBundle != null) {
DragCssResource cssResource = mock(DragClientBundle.DragCssResource.class);
when(clientBundle.css()).thenReturn(cssResource);
}
}