Conditional extends Block { public final Variable<Boolean> getCondition() { return this.condition; } Conditional(final Variable<Boolean> condition); final Variable<Boolean> getCondition(); final OperationSequence getBodyTrue(); final OperationSequence getBodyFalse(); @Override final String toString();  }
@Test public void testGetCondition() throws Exception { Variable v = Variable.create(Type.BOOL, "v", "false"); Conditional c = new Conditional(v); assertEquals(v, c.getCondition()); }