Bug 331668 ESelectionService should not notify listeners if the active part does not post selections
Even if you do not set a selection provider for your IWorkbenchPart implementation, we are still propagating selection events for that part within the given workbench window.
tests/org.eclipse.e4.ui.tests/src/org/eclipse/e4/ui/tests/application/ESelectionServiceTest.java
EPartService partService = (EPartService) windowContext
				.get(EPartService.class.getName());
		Object selection = new Object();
		Object selection2 = new Object();
		assertNull(windowService.getSelection());
		assertNull(partOneImpl.input);
		assertNull(partTwoImpl.input);
		assertNull(partThreeImpl.input);
		partOneImpl.setSelection(selection);
		assertEquals(selection, windowService.getSelection());
		assertEquals(selection, partOneImpl.input);
		assertNull(partTwoImpl.input);
		assertNull(partThreeImpl.input);
		partThreeImpl.setSelection(selection2);
		assertEquals(selection, windowService.getSelection());
		assertEquals(selection, partOneImpl.input);
		assertNull(partTwoImpl.input);
		assertEquals(selection2, partThreeImpl.input);
		partService.activate(partB);
		assertNull(windowService.getSelection());
		assertEquals(selection, partOneImpl.input);
		assertNull(partTwoImpl.input);
		assertEquals(selection2, partThreeImpl.input);
		partService.activate(partC);
		assertEquals(selection2, windowService.getSelection());
		assertEquals(selection, partOneImpl.input);
		assertNull(partTwoImpl.input);
		assertEquals(selection2, partThreeImpl.input);
	}
	public void testPartOneTracksPartThree() throws Exception {