}
@Test
public void shouldNotCaptureOtherEvent() throws Exception {
UIComponent component = mock(UIComponent.class);
SystemEvent event = new PreRemoveFromViewEvent(component);
this.listener.processEvent(event);
assertThat(MvcNavigationSystemEventListener.getLastPreRenderComponentEvent(this.context), is(nullValue()));
}