@Test
public void testSetMode() {

  System.out.println("setMode");
  GenerationMode mode = GenerationMode.Text;
  NLFormat instance = NLFormat.getInstance(cyc);
  instance.setMode(mode);
  assertEquals(mode, instance.getMode());
}