@Test(expected = ClassCastException.class)
public void testOnEditDataSetEvent() {

    final DataSetDef def = mock(DataSetDef.class);
    final EditDataSetEvent editDataSetEvent = mock(EditDataSetEvent.class);
    when(editDataSetEvent.getDef()).thenReturn(def);
    presenter.onEditDataSetEvent(editDataSetEvent);
    verify(placeManager, times(1)).goTo(any(PathPlaceRequest.class));
}