Example #1
0
  @Test
  public void testGetBooleanProperty() throws JTFException {
    // keep_read
    Boolean expected = Boolean.TRUE;
    Boolean actual = sampleJTFCommand.getBooleanProperty(JTFCommand.KEEP_READ, false);

    assertEquals(expected, actual);
  }
Example #2
0
 @Test
 public void testGetBooleanPropertyWithNull() throws JTFException {
   Boolean expected = null;
   Boolean actual = sampleJTFCommand.getBooleanProperty(JTFCommand.FIFO_MODE, false);
   assertEquals(expected, actual);
 }