public class CurrencyMapperTest extends CurrencyDirectoryTest
CurrencyMapper
implementations.Constructor and Description |
---|
CurrencyMapperTest() |
Modifier and Type | Method and Description |
---|---|
CurrencyMapper |
getCurrencyMapper()
Gets the
CurrencyMapper implementation tests are performed with. |
void |
setCurrencyMapper(CurrencyMapper value)
Sets the
CurrencyMapper implementation tests are performed with. |
void |
testGetDtausCode()
Tests the
CurrencyMapper.getDtausCode(Currency,Date) method to handle illegal arguments correctly and to
return the 1 DTAUS code for the EUR currency. |
void |
testGetDtausCurrency()
Tests the
CurrencyMapper.getDtausCurrency(char,Date) method to handle illegal arguments correctly and to
return the EUR currency for the 1 DTAUS code. |
assertContainsCurrency, assertNotContainsCurrency, getCurrencyDirectory, setCurrencyDirectory, testCurrencyConstraints, testGetDtausCurrencies, testGetDtausCurrenciesNull
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
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, failNotEquals, failNotSame, failSame
public CurrencyMapperTest()
public CurrencyMapper getCurrencyMapper()
CurrencyMapper
implementation tests are performed with.CurrencyMapper
implementation tests are performed with.public final void setCurrencyMapper(CurrencyMapper value)
CurrencyMapper
implementation tests are performed with.value
- the CurrencyMapper
implementation to perform tests with.public void testGetDtausCode() throws Exception
CurrencyMapper.getDtausCode(Currency,Date)
method to handle illegal arguments correctly and to
return the 1
DTAUS code for the EUR
currency.Exception
public void testGetDtausCurrency() throws Exception
CurrencyMapper.getDtausCurrency(char,Date)
method to handle illegal arguments correctly and to
return the EUR
currency for the 1
DTAUS code.Exception
Copyright © 2005–2014 jDTAUS. All rights reserved.