/**
  * Test method for {@link
  * org.springframework.osgi.web.deployer.OsgiWarDeploymentException#OsgiWarDeploymentException(java.lang.String,
  * java.lang.Throwable)}.
  */
 public void testOsgiWarDeploymentExceptionStringThrowable() {
   String msg = "msg";
   Exception ex = new Exception();
   OsgiWarDeploymentException exception = new OsgiWarDeploymentException(msg, ex);
   assertEquals(msg, exception.getMessage());
   assertEquals(ex, exception.getCause());
 }
 /**
  * Test method for {@link
  * org.springframework.osgi.web.deployer.OsgiWarDeploymentException#OsgiWarDeploymentException(java.lang.Throwable)}.
  */
 public void testOsgiWarDeploymentExceptionThrowable() {
   Exception ex = new Exception();
   OsgiWarDeploymentException exception = new OsgiWarDeploymentException(ex);
   assertSame(ex, exception.getCause());
 }
 /**
  * Test method for {@link
  * org.springframework.osgi.web.deployer.OsgiWarDeploymentException#OsgiWarDeploymentException(java.lang.String)}.
  */
 public void testOsgiWarDeploymentExceptionString() {
   String msg = "msg";
   OsgiWarDeploymentException exception = new OsgiWarDeploymentException(msg);
   assertEquals(msg, exception.getMessage());
 }
 /**
  * Test method for {@link
  * org.springframework.osgi.web.deployer.OsgiWarDeploymentException#OsgiWarDeploymentException()}.
  */
 public void testOsgiWarDeploymentException() {
   OsgiWarDeploymentException exception = new OsgiWarDeploymentException();
   assertNull(exception.getCause());
   assertNull(exception.getMessage());
 }