@Test
    public void testCutR() throws Exception {
        final Formatter f = Formatter.BUILTIN.CUT_R;
        Assert.assertEquals("fo", f.format("foo"));
        Assert.assertEquals("", f.format(""));
    }
Tests for {@link Formatter}.

@author David Yu
@author Kostiantyn Shchepanovskyi
protostuff-compiler/src/test/java/io/protostuff/compiler/FomatterTest.java