@Test
public void testToString() throws Exception {

    Map<String, Object> options = formatter.getDefaultOptions();
    Value boolVar = getVM().mirrorOf(true);
    assertEquals("Should be able to format boolean type.", "true",
        formatter.toString(boolVar, options));
    boolVar = getVM().mirrorOf(false);
    assertEquals("Should be able to format boolean type.", "false",
        formatter.toString(boolVar, options));
}