@Override
	public void visit(Entry target) {
		new EntryAccessor().setComponent(target, userInputListenerFactory.getToolBar("/main_toolbar"));
	}
@Test
	public void createsEmptyToolbarComponent() {
		Entry toolbarEntry = new Entry();
		
		final IUserInputListenerFactory userInputListenerFactory = mock(IUserInputListenerFactory.class);
		JToolBar toolbar = new JToolBar();
		when(userInputListenerFactory.getToolBar("/main_toolbar")).thenReturn(toolbar);		
		final JToolbarBuilder toolbarBuilder = new JToolbarBuilder(userInputListenerFactory);
		toolbarBuilder.visit(toolbarEntry);

		assertThat(new EntryAccessor().getComponent(toolbarEntry), CoreMatchers.<Object>is(toolbar));
	}