@IntegrationTest public class MandatoryAttributeValidatorTest extends ServicelayerTransactionalBaseTest
defaultLanguage, jaloSession| Constructor and Description |
|---|
MandatoryAttributeValidatorTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
prepare() |
void |
shouldProperlySaveModelWhenMandatoryReferenceIsAlive() |
void |
shouldThrowExceptionWhenMandatoryModelAsPartOfReferencedCollectionIsAlreadyRemoved() |
void |
shouldThrowExceptionWhenMandatoryReferencedModelIsAlreadyRemoved() |
void |
testCreate1() |
void |
testCreate2() |
void |
testCreate3() |
void |
testMissingMandatoryAttributeEnglishMessage() |
void |
testMissingMandatoryAttributeGermanMessage() |
autowireProperties, getApplicationContext, getBeanName, prepareApplicationContextAndSessionfinish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivatedpublic void prepare()
public void testCreate1()
public void testCreate2()
public void testCreate3()
public void testMissingMandatoryAttributeGermanMessage()
public void testMissingMandatoryAttributeEnglishMessage()
public void shouldProperlySaveModelWhenMandatoryReferenceIsAlive()
throws Exception
Exceptionpublic void shouldThrowExceptionWhenMandatoryReferencedModelIsAlreadyRemoved()
throws Exception
ExceptionCopyright © 2017 SAP SE. All Rights Reserved.