package org.codehaus.mojo.spotbugsmavenplugin.it;


import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.Disabled;

/**
 * Tests for {@link Foo}.
 *
 * @author user@example.com (John Doe)
 */
public class FooTest {

    @Test
    void thisAlwaysPasses() {
        // Do nothing
    }

    @Disabled
    @Test
    public void thisIsIgnored() {
        // Do nothing
    }
}

package org.codehaus.mojo.spotbugsmavenplugin.it;


import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.Disabled;

/**
 * Tests for {@link Foo}.
 *
 * @author user@example.com (John Doe)
 */
class FooTest {

    @Test
    void thisAlwaysPasses() {
        // Do nothing
    }

    @Disabled
    @Test
    void thisIsIgnored() {
        // Do nothing
    }
}

Fix FooTest for junit 5 styling needs