@Test public void testSetVariableName() throws Exception { assertNull(setSessionVariableMeta.getVariableName()); String[] variableName = new String[] {"value1", "value2"}; setSessionVariableMeta.setVariableName(variableName); assertEquals(variableName, setSessionVariableMeta.getVariableName()); }
@Test public void testAllocate() { final int size = 100; setSessionVariableMeta.allocate(size); assertAllocate(size, setSessionVariableMeta.getFieldName()); assertAllocate(size, setSessionVariableMeta.getVariableName()); assertAllocate(size, setSessionVariableMeta.getDefaultValue()); }