private static void CloseSession(UserContext userContext, TestContext testContext)
 {
     try
     {
         using (new TestTransaction(testContext, "CloseSession"))
         {
             userContext.CloseSession();
         }
     }
     catch (Exception exception)
     {
         testContext.WriteLine("Error occurred on CloseSession {0}", exception.Message);
     }
 }