### Question:
TableObjectViewer implements TableObjectViewerView.Presenter, IsElement { public void initialize( Settings settings ) { this.settings = settings; managementService.call( new RemoteCallback< DisplayerSettings >( ) { @Override public void callback( DisplayerSettings displayerSettings ) { initializeDisplayer( displayerSettings ); } }).getDisplayerSettings( settings.dataSourceUuid( ), settings.schemaName( ), settings.tableName( ) ); } TableObjectViewer( ); @Inject  TableObjectViewer( TableObjectViewerView view,
                              DisplayerViewer displayerViewer,
                              UUIDGenerator uuidGenerator,
                              Caller< DataManagementService > managementService ); @Override HTMLElement getElement( ); void initialize( Settings settings );  }### Answer:
@Test public void testInitialize() { TableObjectViewer.Settings settings = new TableObjectViewer.Settings() .dataSourceUuid( DATASOURCE_ID ) .schemaName( SCHEMA_NAME ) .tableName( DATABASE_OBJECT_NAME ); when ( managementService.getDisplayerSettings( DATASOURCE_ID, SCHEMA_NAME, DATABASE_OBJECT_NAME ) ) .thenReturn( displayerSettings ); viewer.initialize( settings ); verify( displayerViewer, times( 1 ) ).setIsShowRendererSelector( false ); verify( displayerViewer, times( 1 ) ).init( displayerSettings ); verify( displayerViewer, times( 1 ) ).draw(); verify( view, times( 1 ) ).setContent( displayerViewer ); }