### Question:
FeatureActionsMenuProvider implements ContextMenuProvider<DataGroupContextKey> { @Override public Collection<? extends Component> getMenuItems(String contextId, DataGroupContextKey key) { if (!DataTypeChecker.isFeatureType(key.getDataType())) { return Collections.emptyList(); } return menuItemsForLayer(getDataTypes(key)); } FeatureActionsMenuProvider(ActionEditorDisplayer displayer, UIRegistry uiRegistry); @Override Collection<? extends Component> getMenuItems(String contextId, DataGroupContextKey key); @Override int getPriority(); Collection<? extends Component> menuItemsForLayer(DataTypeInfo layer); DataTypeInfo getDataTypes(DataGroupContextKey key);  }### Answer:
@Test public void testTileLayer() { DataTypeInfo tileLayer = new DefaultDataTypeInfo(null, "bla", ourLayerId, ourLayerName, ourLayerName, true); DataGroupInfo group = createDataGroup(); FeatureActionsMenuProvider menuProvider = new FeatureActionsMenuProvider(null, null); DataGroupContextKey key = new DataGroupContextKey(group, tileLayer); Collection<? extends Component> menuItems = menuProvider.getMenuItems(ourLayerId, key); assertTrue(menuItems.isEmpty()); }