@IntegrationTest public class MandatoryAttributeValidatorTest extends ServicelayerTransactionalBaseTest
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, prepareApplicationContextAndSessionestablishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSessionpublic void prepare()
public void testCreate1()
public void testCreate2()
public void testCreate3()
public void testMissingMandatoryAttributeGermanMessage()
public void testMissingMandatoryAttributeEnglishMessage()
public void shouldProperlySaveModelWhenMandatoryReferenceIsAlive()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldThrowExceptionWhenMandatoryReferencedModelIsAlreadyRemoved()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldThrowExceptionWhenMandatoryModelAsPartOfReferencedCollectionIsAlreadyRemoved()
throws java.lang.Exception
java.lang.ExceptionCopyright © 2018 SAP SE. All Rights Reserved.