com.ail.insurancetest
Class TestAcceptance

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.ail.coretest.CoreUserTestCase
              extended by com.ail.insurancetest.TestAcceptance
All Implemented Interfaces:
ConfigurationOwner, CoreUser, java.io.Serializable, junit.framework.Test

public class TestAcceptance
extends CoreUserTestCase

Version:
$Revision: 1.6 $
See Also:
Serialized Form

Constructor Summary
TestAcceptance(java.lang.String name)
          Constructs a test case with the given name.
 
Method Summary
static void main(java.lang.String[] args)
          Run this testcase from the command line.
static junit.framework.Test suite()
          Create an instance of this test case as a TestSuite.
 void testAcceptQuotationSuccess()
           
 void testCollectPremiumFail()
          Test collect premium from on risk status & no payment details
 void testCollectPremiumSuccess()
          Test collect premium from on risk status & payment details
 void testCollectPremiumSuccessPrePayemt()
          Test collect premium from on risk status & pre payment
 void testProduceDocumentationFail()
          Test produce documentation from refer staus
 void testProduceDocumentationSuccess()
          Test produce documentation from on risk status
 void testPutOnRiskFail()
          Test put on risk from refer status
 void testPutOnRiskSuccess()
          Test put on risk from quotation status
 
Methods inherited from class com.ail.coretest.CoreUserTestCase
getConfiguration, getConfigurationNamespace, getCore, getSecurityPrincipal, getVersionEffectiveDate, resetConfiguration, setConfiguration, setCore, setupSystemProperties, setVersionEffectiveDate
 
Methods inherited from class junit.framework.TestCase
countTestCases, getName, run, run, runBare, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestAcceptance

public TestAcceptance(java.lang.String name)
Constructs a test case with the given name.

Parameters:
name - The tests name
Method Detail

suite

public static junit.framework.Test suite()
Create an instance of this test case as a TestSuite.

Returns:
Test an instance of this test case.

main

public static void main(java.lang.String[] args)
Run this testcase from the command line.

Parameters:
args - No command line args are required.

testPutOnRiskSuccess

public void testPutOnRiskSuccess()
Test put on risk from quotation status

Throws:
java.lang.Exception

testPutOnRiskFail

public void testPutOnRiskFail()
                       throws java.lang.Exception
Test put on risk from refer status

Throws:
java.lang.Exception

testCollectPremiumSuccess

public void testCollectPremiumSuccess()
Test collect premium from on risk status & payment details

Throws:
java.lang.Exception

testCollectPremiumSuccessPrePayemt

public void testCollectPremiumSuccessPrePayemt()
Test collect premium from on risk status & pre payment

Throws:
java.lang.Exception

testCollectPremiumFail

public void testCollectPremiumFail()
                            throws java.lang.Exception
Test collect premium from on risk status & no payment details

Throws:
java.lang.Exception

testProduceDocumentationSuccess

public void testProduceDocumentationSuccess()
                                     throws java.lang.Exception
Test produce documentation from on risk status

Throws:
java.lang.Exception

testProduceDocumentationFail

public void testProduceDocumentationFail()
                                  throws java.lang.Exception
Test produce documentation from refer staus

Throws:
java.lang.Exception

testAcceptQuotationSuccess

public void testAcceptQuotationSuccess()
                                throws java.lang.Exception
Throws:
java.lang.Exception