/* ---------------------------------------------- CreateTest phase -------------------------------------*/
 public void createTestPhase() throws Exception {
   testPhaseObj.setPhaseId("101");
   testPhaseObj.setPhaseName("System test");
   projectObj.setProjectId("003");
   testPhaseObj.setProjectObj(projectObj);
   testPhaseObj.setDescription(" this is phase System test");
   testPhaseObj.setIsAlive(0);
   testPhaseObj.setTimeStamp("null");
   System.out.println(tmsManager.createTestPhase(testPhaseObj));
 }
 /*--------------------------------------------UpdateTestPhase---------------------------------------*/
 public void updateTestPhase() throws Exception {
   testPhaseObj.setPhaseId("101");
   testPhaseObj.setPhaseName("functional testing");
   projectObj.setProjectId("002");
   testPhaseObj.setProjectObj(projectObj);
   testPhaseObj.setDescription("test phase function test under process");
   testPhaseObj.setIsAlive(1);
   testPhaseObj.setTimeStamp("null");
   System.out.println(tmsManager.updateTestPhase(testPhaseObj));
 }
  public void createTestCase() throws Exception {
    testCaseObj.setTestCaseId("15");
    testCaseObj.setTestCaseDescription("this s Next testcase Description");
    testCaseObj.setTestCasePhase("normal ");

    Project projectObj = new Project();
    projectObj.setProjectId("2");
    testCaseObj.setProjectObj(projectObj);

    User userObj = new User();
    userObj.setUserId("123");
    testCaseObj.setUserObj(userObj);

    Activity activityObj = new Activity();
    activityObj.setActivityId("001");
    testCaseObj.setActivityObj(activityObj);

    testCaseObj.setExpectedBehaviour("Bad");
    System.out.println(tmsManager.createTestCase(testCaseObj));
  }