final String uri1 = "a/path/to/somewhere";
final String uri2 = "a/path/to/somewhere/else";
//The first place
final ObservablePath path1 = mock( ObservablePath.class );
doReturn( uri1 ).when( path1 ).toURI();
final PlaceRequest somewhere = new PathPlaceRequestUnitTestWrapper(path1);
final WorkbenchEditorActivity activity1 = new MockWorkbenchEditorActivity( placeManager );
final WorkbenchEditorActivity spy1 = spy( activity1 );
//The second place
final ObservablePath path2 = mock( ObservablePath.class );
doReturn( uri2 ).when( path2 ).toURI();
final PlaceRequest somewhereElse = new PathPlaceRequestUnitTestWrapper(path2);
final WorkbenchEditorActivity activity2 = new MockWorkbenchEditorActivity( placeManager );
final WorkbenchEditorActivity spy2 = spy( activity2 );