|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
com.ail.insurancetest.TestQuotation
public class TestQuotation
| Constructor Summary | |
|---|---|
TestQuotation(java.lang.String name)
Constructs a test case with the given name. |
|
| Method Summary | |
|---|---|
Configuration |
getConfiguration()
Method demanded by the ConfigurationOwner interface. |
java.lang.String |
getConfigurationNamespace()
Method demanded by the ConfigurationOwner interface. |
java.security.Principal |
getSecurityPrincipal()
Method demanded by the CoreUser interface. |
VersionEffectiveDate |
getVersionEffectiveDate()
Method demanded by the CoreUser interface. |
static void |
main(java.lang.String[] args)
|
void |
resetConfiguration()
Method demanded by the ConfigurationOwner interface. |
void |
setConfiguration(Configuration config)
Method demanded by the ConfigurationOwner interface. |
static junit.framework.Test |
suite()
|
void |
testAddPolicyNumber()
Test that the policy number generator generates unique numbers. |
void |
testAddQuoteNumber()
Test that the quote number generator generates unique numbers. |
void |
testAssessPaymentOptions()
|
void |
testAssessRiskStatusCheck()
A policy's risk can only be assessed if the policy is at Application status. |
void |
testCalculatePremiumDecline()
Policy with a decline. |
void |
testCalculatePremiumDeclineAndRefer()
Policy with refer and decline. |
void |
testCalculatePremiumRefer()
Policy with a refer. |
void |
testDoubleReferMarkerResolution()
Single resolution, double refer. |
void |
testEnforceCompliance()
|
void |
testMultipleContributors()
|
void |
testOldLineRemoval()
Make sure assess risk clears up old entries before adding new ones.If assess risk is called twice with the same policy, on the second call it should delete all the assessment sheet entries it created on the first time, then re-assess the risk from scratch. |
void |
testPriorityAssessmentLine()
|
void |
testReferMarkerResolution()
Single resolution, single refer. |
void |
testSimpleAssessRisk()
Simple assess risk. |
void |
testSimpleAssessRiskCalculatePremium()
Simple assess risk & calculate premium test. |
void |
testSimpleAssessRiskCalculatePremiumNoTaxNoCommission()
This test is identical to testSimpleAssessRiskCalculatePremium, with the exception that no tax is (should!)
be added to the quotation. |
| 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 |
|---|
public TestQuotation(java.lang.String name)
| Method Detail |
|---|
public static junit.framework.Test suite()
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exceptionpublic VersionEffectiveDate getVersionEffectiveDate()
getVersionEffectiveDate in interface CoreUserpublic java.security.Principal getSecurityPrincipal()
getSecurityPrincipal in interface CoreUserpublic void setConfiguration(Configuration config)
setConfiguration in interface ConfigurationOwnerconfig - Configuration to use from now on.public Configuration getConfiguration()
getConfiguration in interface ConfigurationOwnerpublic java.lang.String getConfigurationNamespace()
getConfigurationNamespace in interface CoreUserpublic void resetConfiguration()
resetConfiguration in interface ConfigurationOwner
public void testSimpleAssessRisk()
throws java.lang.Exception
BaseException
java.lang.Exception
public void testAssessRiskStatusCheck()
throws java.lang.Exception
java.lang.Exception
public void testOldLineRemoval()
throws java.lang.Exception
java.lang.Exception
public void testSimpleAssessRiskCalculatePremium()
throws java.lang.Exception
BaseException
java.lang.Exception
public void testSimpleAssessRiskCalculatePremiumNoTaxNoCommission()
throws java.lang.Exception
testSimpleAssessRiskCalculatePremium, with the exception that no tax is (should!)
be added to the quotation.
java.lang.Exception
public void testPriorityAssessmentLine()
throws java.lang.Exception
java.lang.Exception
public void testCalculatePremiumRefer()
throws BaseException
BaseException
public void testCalculatePremiumDecline()
throws BaseException
BaseException
public void testCalculatePremiumDeclineAndRefer()
throws BaseException
BaseException
public void testReferMarkerResolution()
throws BaseException
BaseException
public void testDoubleReferMarkerResolution()
throws BaseException
BaseException
public void testMultipleContributors()
throws java.lang.Exception
java.lang.Exception
public void testAddPolicyNumber()
throws java.lang.Exception
java.lang.Exception
public void testAddQuoteNumber()
throws java.lang.Exception
java.lang.Exception
public void testEnforceCompliance()
throws java.lang.Exception
java.lang.Exception
public void testAssessPaymentOptions()
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||