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