// Path: application/common-exceptions/src/main/java/com/tripsta/common/exceptions/ExceptionMessages.java
// public class ExceptionMessages {
// 
//   public static final String SESSION_NOT_FOUND = "Session was not found";
// 
//   /**
//    * Invalid Session Messages
//    */
//   public static final String INVALID_SESSION = "Session is invalid";
// 
//   /**
//    * Crud Resource
//    */
//   public static final String RESOURCE_NOT_FOUND = "Resource not found";
// 
//   /**
//    * Warnings
//    */
// 
//   /**
//    *
//    */
// }
// 
// Path: application/common-exceptions/src/main/java/com/tripsta/common/exceptions/InvalidSessionException.java
// public class InvalidSessionException extends GenericException {
// 
//   private static final long serialVersionUID = 8794764361460080293L;
// 
//   public InvalidSessionException() {
//     super(INVALID_SESSION);
//   }
// 
//   public InvalidSessionException(String message, Throwable cause,
//                                  boolean enableSuppression, boolean writableStackTrace) {
//     super(message, cause, enableSuppression, writableStackTrace);
//   }
// 
//   public InvalidSessionException(String message, Throwable cause) {
//     super(message, cause);
//   }
// 
//   public InvalidSessionException(String message) {
//     super(message);
//   }
// 
//   public InvalidSessionException(Throwable cause) {
//     super(cause);
//   }
// 
// }


import org.junit.Test;
import com.tripsta.common.exceptions.ExceptionMessages;
import com.tripsta.common.exceptions.InvalidSessionException;
import static org.junit.Assert.assertEquals;
package com.tripsta.common.exceptions;




public class InvalidSessionExceptionTest {

  @Test
  public void testConstructors() throws Exception {

    InvalidSessionException ge = new InvalidSessionException();
    assertEquals(ExceptionMessages.INVALID_SESSION, ge.getMessage());
    assertEquals(null, ge.getCause());
    assertEquals(0, ge.getSuppressed().length);
// Path: application/common-exceptions/src/main/java/com/tripsta/common/exceptions/ExceptionMessages.java
// public class ExceptionMessages {
// 
//   public static final String SESSION_NOT_FOUND = "Session was not found";
// 
//   /**
//    * Invalid Session Messages
//    */
//   public static final String INVALID_SESSION = "Session is invalid";
// 
//   /**
//    * Crud Resource
//    */
//   public static final String RESOURCE_NOT_FOUND = "Resource not found";
// 
//   /**
//    * Warnings
//    */
// 
//   /**
//    *
//    */
// }
// 
// Path: application/common-exceptions/src/main/java/com/tripsta/common/exceptions/InvalidSessionException.java
// public class InvalidSessionException extends GenericException {
// 
//   private static final long serialVersionUID = 8794764361460080293L;
// 
//   public InvalidSessionException() {
//     super(INVALID_SESSION);
//   }
// 
//   public InvalidSessionException(String message, Throwable cause,
//                                  boolean enableSuppression, boolean writableStackTrace) {
//     super(message, cause, enableSuppression, writableStackTrace);
//   }
// 
//   public InvalidSessionException(String message, Throwable cause) {
//     super(message, cause);
//   }
// 
//   public InvalidSessionException(String message) {
//     super(message);
//   }
// 
//   public InvalidSessionException(Throwable cause) {
//     super(cause);
//   }
// 
// }


// Path: application/common-exceptions/src/test/java/com/tripsta/common/exceptions/InvalidSessionExceptionTest.java
import org.junit.Test;
import com.tripsta.common.exceptions.ExceptionMessages;
import com.tripsta.common.exceptions.InvalidSessionException;
import static org.junit.Assert.assertEquals;

package com.tripsta.common.exceptions;




public class InvalidSessionExceptionTest {

  @Test
  public void testConstructors() throws Exception {

    InvalidSessionException ge = new InvalidSessionException();
    assertEquals(ExceptionMessages.INVALID_SESSION, ge.getMessage());
    assertEquals(null, ge.getCause());
    assertEquals(0, ge.getSuppressed().length);
    ge.setStackTrace(new StackTraceElement[] {new StackTraceElement("Object", "toString", null, 0)});