Browse souce code repository at: https://github.com/jjYBdx4IL/java-evaluation/blob/master/src/test/java/tests/java/lang/SwitchTest.java
package tests.java.lang;

import static org.junit.Assert.*;
import org.junit.Test;

/**
 *
 * @author Github jjYBdx4IL Projects
 */
public class SwitchTest {

    @Test
    public void testDefaultPrecedence() {
        int i = 0;
        switch(i) {
            default: break;
            case 0:
                i++;
        }
        assertEquals(1, i);
    }
}
-------------------------------------------------------------------------------
Test set: tests.java.lang.SwitchTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in tests.java.lang.SwitchTest
testDefaultPrecedence  Time elapsed: 0 s