@Test
public void testFormat() {

  System.out.println("format");
  Object obj = 2;
  StringBuffer toAppendTo = new StringBuffer();
  FieldPosition pos = new FieldPosition(NumberFormat.INTEGER_FIELD);
  NLFormat instance = NLFormat.getInstance(cyc);
  String expResult = "2";
  StringBuffer result = instance.format(obj, toAppendTo, pos);
  assertEquals(expResult, result.toString());
}