@IntegrationTest public class DiscountValueParserTest extends ServicelayerBaseTest
jaloSession| Constructor and Description |
|---|
DiscountValueParserTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
parseCurrency() |
void |
parseCurrencyWithoutAppliedValue() |
void |
parseValues() |
void |
parseValuesWithAdditionalSpaces() |
void |
parseValuesWithoutSpaces() |
void |
setUp() |
void |
shouldFailOnInvalidFormat() |
void |
shouldFailOnInvalidNumberFormat() |
void |
shouldFailOnNonExistingCurrency() |
void |
shouldZeroAppliedValueWhenNotGiven() |
autowireProperties, getApplicationContext, getBeanName, prepareApplicationContextAndSessionestablishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSessionpublic void setUp()
public void parseValues()
throws ParserException
ParserExceptionpublic void parseValuesWithoutSpaces()
throws ParserException
ParserExceptionpublic void parseValuesWithAdditionalSpaces()
throws ParserException
ParserExceptionpublic void parseCurrency()
throws ParserException
ParserExceptionpublic void parseCurrencyWithoutAppliedValue()
throws ParserException
ParserExceptionpublic void shouldZeroAppliedValueWhenNotGiven()
throws ParserException
ParserExceptionpublic void shouldFailOnNonExistingCurrency()
throws ParserException
ParserExceptionpublic void shouldFailOnInvalidFormat()
throws ParserException
ParserExceptionpublic void shouldFailOnInvalidNumberFormat()
throws ParserException
ParserExceptionCopyright © 2018 SAP SE. All Rights Reserved.