public function testAccountGroupBuilderDemolish()
 {
     $name = 'an entity group';
     $description = 'A description of entity group';
     $dateRemoved = new DateTime();
     $dateRemoved->setDate(3000, 1, 1);
     $dateAdded = new DateTime();
     $groupID = 100;
     $parentGroup = 5;
     $builder = new AccountGroupBuilder();
     $entity = new AccountGroup();
     $entity->setName($name);
     $entity->setDescription($description);
     $entity->setDateAdded($dateAdded);
     $entity->setDateRemoved($dateRemoved);
     $entity->setGroupID($groupID);
     $entity->setParentGroupID($parentGroup);
     $columns = array('group_name' => $name, 'group_description' => $description, 'group_date_added' => $dateAdded, 'group_date_removed' => $dateRemoved, 'group_id' => $groupID, 'parent_group_id' => $parentGroup);
     $this->assertEquals($builder->demolish($entity), $columns);
 }