@Test
    public void testDeleteGroupBuildDefinition()
        throws ContinuumStoreException
    {
        ProjectGroup projectGroup = projectGroupDao.getProjectGroupWithBuildDetailsByProjectGroupId(
            defaultProjectGroup.getId() );
        projectGroup.getBuildDefinitions().remove( 0 );
        projectGroupDao.updateProjectGroup( projectGroup );
        projectGroup = projectGroupDao.getProjectGroupWithBuildDetailsByProjectGroupId( defaultProjectGroup.getId() );
        assertEquals( "check size is now 0", 0, projectGroup.getBuildDefinitions().size() );
        // !! These actually aren't happening !!
        // TODO: test the def was physically deleted
        // TODO: test the schedule/profile was NOT physically deleted
    }
@Test
    public void testDeleteGroupBuildDefinition()
        throws ContinuumStoreException
    {
        ProjectGroup projectGroup = projectGroupDao.getProjectGroupWithBuildDetailsByProjectGroupId(
            defaultProjectGroup.getId() );
        projectGroup.getBuildDefinitions().remove( 0 );
        projectGroupDao.updateProjectGroup( projectGroup );
        projectGroup = projectGroupDao.getProjectGroupWithBuildDetailsByProjectGroupId( defaultProjectGroup.getId() );
        assertEquals( "check size is now 0", 0, projectGroup.getBuildDefinitions().size() );
       
       
       
    }
@test public void testdeletegroupbuilddefinition() throws continuumstoreexception { projectgroup projectgroup = projectgroupdao.getprojectgroupwithbuilddetailsbyprojectgroupid( defaultprojectgroup.getid() ); projectgroup.getbuilddefinitions().remove( 0 ); projectgroupdao.updateprojectgroup( projectgroup ); projectgroup = projectgroupdao.getprojectgroupwithbuilddetailsbyprojectgroupid( defaultprojectgroup.getid() ); assertequals( "check size is now 0", 0, projectgroup.getbuilddefinitions().size() ); }