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

import static org.junit.Assert.assertEquals;

import org.junit.Test;

public class ContinueTest {

    @Test
    public void testContinue() {
        int nFor = 0;
        int i = 0;
        while(< 1) {
            i++;
            for (int j=0; j<10; j++) {
                nFor++;
                continue; // jumps to "for"
            }
        }
        assertEquals(10, nFor);
    }
    
    @SuppressWarnings("unused")
    @Test
    public void testContinueWithLabel() {
        int nFor = 0;
        int i = 0;
        OUTER: while(< 1) {
            i++;
            for (int j=0; j<10; j++) {
                nFor++;
                continue OUTER;
            }
        }
        assertEquals(1, nFor);
    }
}
-------------------------------------------------------------------------------
Test set: tests.java.lang.ContinueTest
-------------------------------------------------------------------------------
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in tests.java.lang.ContinueTest
testContinueWithLabel  Time elapsed: 0 s
testContinue  Time elapsed: 0 s