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

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

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

    @Test
    public void testStringFormat() {
        assertEquals("1 a", String.format("%d %s", 1, "a", "b"));
    }
}
-------------------------------------------------------------------------------
Test set: tests.java.lang.VarArgsTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in tests.java.lang.VarArgsTest
testStringFormat  Time elapsed: 0 s