}
@Ignore("test fails in tycho")
@Test
public void testOpenMemory() throws Exception {
SimpleFeatureTypeBuilder builder = new SimpleFeatureTypeBuilder();
builder.setName(TEST_TYPE);
builder.setNamespaceURI(TEST_URI);
builder.add("the_geo", Geometry.class);
SimpleFeatureType featureType = builder.buildFeatureType();
StructuredSelection selection1 = new StructuredSelection(SimpleFeatureBuilder.build(featureType, DEFAULT_ATTS, ID));
IContributionItem item = processor.getEditFeatureAction(selection1);
assertEquals(MATCH_ON_TYPE_NAME, item.getId());
item = checkItems(selection1, item);
assertSame(item.getId(), processor.getEditFeatureAction(selection1).getId());
MenuManager editWith = (MenuManager) processor.getEditWithFeatureMenu(selection1);
item = editWith.findUsingPath(item.getId());
assertTrue(((ActionContributionItem) item).getAction().isChecked());
SimpleFeatureTypeBuilder builder2 = new SimpleFeatureTypeBuilder();
builder2.setName(TEST_TYPE);
builder2.setNamespaceURI(INVALID_TEST_URI);
builder2.add("geo", Geometry.class);
SimpleFeatureType featureType2 = builder2.buildFeatureType();
StructuredSelection selection2 = new StructuredSelection(SimpleFeatureBuilder.build(featureType2, DEFAULT_ATTS, ID));
IContributionItem item2 = processor.getEditFeatureAction(selection2);
assertEquals(MATCH_GEOM_NAMED_GEO, item2.getId());