@@ -0,0 +1,1220 @@
+package org.bonej.wrapperPlugins;%0A%0Aimport net.imagej.ImageJ;%0Aimport org.junit.AfterClass;%0Aimport org.junit.Test;%0Aimport org.scijava.command.CommandInfo;%0A%0Aimport java.util.stream.Stream;%0A%0Aimport static org.junit.Assert.assertTrue;%0A%0A/**%0A * There is a number of tools which we want to offer BoneJ users,%0A * but on which BoneJ2 plugins do not depend in compilation or testing%0A * This test checks that those tools are present in vanilla ImageJ2.%0A *%0A * @author Richard Domander %0A */%0Apublic class BundleTest %7B%0A    private static final ImageJ IMAGE_J = new ImageJ();%0A%0A    @AfterClass%0A    public static void oneTimeTearDown() %7B%0A        IMAGE_J.context().dispose();%0A    %7D%0A%0A    @Test%0A    public void checkErode() %7B%0A        final Stream%3CCommandInfo%3E commands = IMAGE_J.command().getCommands().stream();%0A%0A        assertTrue(commands.anyMatch(i -%3E i.getClassName()%0A                .equals(%22net.imagej.plugins.commands.binary.ErodeBinaryImage%22)));%0A    %7D%0A%0A    @Test%0A    public void checkDilate() %7B%0A        final Stream%3CCommandInfo%3E commands = IMAGE_J.command().getCommands().stream();%0A%0A        assertTrue(commands.anyMatch(i -%3E i.getClassName()%0A                .equals(%22net.imagej.plugins.commands.binary.DilateBinaryImage%22)));%0A    %7D%0A%7D%0A

Add bundle test