Code example for SimpleFormatter

0
import java.util.logging.SimpleFormatter; 
import junit.framework.TestCase; 
 
public class OldSimpleFormatterTest extends TestCase {
 
    SimpleFormatter sf = new SimpleFormatter();
 
    public void testSimpleFormatter() { 
        assertEquals("Head for this SimpleFormatter should be empty", "", sf.getHead(null));
        assertEquals("Tail for this SimpleFormatter should be empty", "", sf.getTail(null));
    } 
}