remotePage.createControl( shell );
verify( remoteObject ).set( "parent", "foo1" );
verify( remoteObject ).set( "title", "bar" );
verify( remoteObject ).set( "control", WidgetUtil.getId( remotePage.getControl() ) );
verify( remoteObject ).set( "style", new JsonArray().add( "DEFAULT" ) );
verify( remoteObject ).set( "topLevel", true );
ArgumentCaptor<JsonArray> captor = ArgumentCaptor.forClass( JsonArray.class );
verify( remoteObject ).set( eq( "image" ), captor.capture() );
assertTrue( captor.getValue().get( 0 ).isString() );
assertEquals( 49, captor.getValue().get( 1 ).asInt() );