new XMLInputSource(JUnitExtension
.getFile("TextAnalysisEngineImplTest/TestPrimitiveTae1.xml")));
// check default setting
TextAnalysisEngine taeDefault = UIMAFramework.produceTAE(testDescriptor);
CAS cas = taeDefault.newCAS();
int heapSize = ((CASImpl) cas).getHeap().getCurrentTempSize();
int bufSize = ((CASImpl)cas).getHeap().heap.length;
//System.out.println("Heap size: " + heapSize + ", buffer size: " + bufSize);
Assert.assertTrue(bufSize < CASImpl.DEFAULT_RESET_HEAP_SIZE);
assertTrue(heapSize <= bufSize);