public void setUp() {
   PrioritizedReference.releaseResources();
   PrioritizedReference.setMaxMemoryAllowed(MEM_OBJ_SIZE * 10);
 }
 /*
  * Purpose is to test if objects are created and stored internally correct
  * */
 public void testObjectCreation() throws Exception {
   MemoryTestObject tmpMemObj = new MemoryTestObject();
   PrioritizedReference tmpObj = new PrioritizedReference(tmpMemObj);
   Assert.assertEquals(true, tmpObj.get() == tmpMemObj);
 }
 public void tearDown() {
   PrioritizedReference.releaseResources();
 }