public class PropertySetterTest extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PropertySetterTest.MockBean |
| Constructor and Description |
|---|
PropertySetterTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
testSetterInnerObjNull()
Test the population of an non-initialized inner bean.
|
void |
testSetterNonPrimitiveAndNestedPrimitive()
Test populating a non primitive property and its primitive properties.
|
void |
testSetterNoSuchThing()
Test the population of an non-initialized inner bean.
|
void |
testSetterObjNull()
Should not accept null beans as an object to be populated.
|
void |
testSetterPrimitive()
Test populating a primitive property.
|
public void testSetterObjNull()
throws Exception
Should not accept null beans as an object to be populated.
Exception - Should throw IllegalArgumentException.public void testSetterPrimitive()
throws Exception
Test populating a primitive property.
Exceptionpublic void testSetterNonPrimitiveAndNestedPrimitive()
throws Exception
Test populating a non primitive property and its primitive properties.
Exceptionpublic void testSetterInnerObjNull()
throws Exception
Test the population of an non-initialized inner bean.
Exception - Should throw IllegalArgumentException.public void testSetterNoSuchThing()
throws Exception
Test the population of an non-initialized inner bean.
Exception - Should throw IllegalArgumentException.Copyright © 2014. All Rights Reserved.