@Test
    public void testIssue2250WithMips() {
        int width = 8;
        int height = 8;
        int depth = 1;
        int[] mipMapSizes = {256, 64, 16, 4};

        ArrayList<ByteBuffer> data = new ArrayList<>();
        Image image2 = new Image(Image.Format.RGBA8, width, height, depth, data,
                mipMapSizes, ColorSpace.Linear);

        image2.setMultiSamples(1);
    }
Test setMultiSamples() on an Image with mip maps.
jme3-core/src/test/java/com/jme3/texture/TestIssue2250.java