2930313233343536373839
public void testNull() { BooleanTranslator t = new BooleanTranslator(); assertEquals(Boolean.FALSE, t.translate(null, null, null)); } public void testInitializer() { BooleanTranslator t = new BooleanTranslator("default=true");
3637383940414243
public void testInitializer() { BooleanTranslator t = new BooleanTranslator("default=true"); assertEquals(Boolean.TRUE, t.translate(null, null, null)); } }
public void testNull() { BooleanTranslator t = new BooleanTranslator(); assertEquals(Boolean.FALSE, t.translate(null, null, null, null)); } public void testInitializer() { BooleanTranslator t = new BooleanTranslator("default=true");
public void testInitializer() { BooleanTranslator t = new BooleanTranslator("default=true"); assertEquals(Boolean.TRUE, t.translate(null, null, null, null)); } }