@PrepareForTest(value=LogUtils.class) @PowerMockIgnore(value={"javax.crypto.*","javax.management.*"}) public class DynamoDBDaoMapSpec_put extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DynamoDBDaoMapSpec_put.Custom |
class |
DynamoDBDaoMapSpec_put.Custom2 |
static class |
DynamoDBDaoMapSpec_put.Custom3 |
static class |
DynamoDBDaoMapSpec_put.CustomSerializer |
| Modifier and Type | Field and Description |
|---|---|
private DynamoDBService |
dynamoDBService |
private com.amazonaws.services.dynamodbv2.document.Item |
itemSpy |
private String |
keyField |
private String |
keyValue |
(package private) Map<String,Class<?>> |
klasses |
private com.amazonaws.services.dynamodbv2.document.Table |
tableMock |
| Constructor and Description |
|---|
DynamoDBDaoMapSpec_put() |
private DynamoDBService dynamoDBService
private com.amazonaws.services.dynamodbv2.document.Table tableMock
private com.amazonaws.services.dynamodbv2.document.Item itemSpy
private String keyField
private String keyValue
public void positiveFlow_putsAllDataIntoTableIfParameterTypeIsString()
throws Exception
Exceptionpublic void positiveFlow_putsAllDataIntoTableIfParameterTypeIsInteger()
throws Exception
Exceptionpublic void positiveFlow_putsAllDataIntoTableIfParameterTypeIsFloat()
throws Exception
Exceptionpublic void positiveFlow_putsAllDataIntoTableIfParameterTypeIsLong()
throws Exception
Exceptionpublic void positiveFlow_putsAllDataIntoTableIfParameterTypeIsMap()
throws Exception
Exceptionpublic void positiveFlow_putsAllDataIntoTableIfParameterTypeIsSet()
throws Exception
Exceptionpublic void positiveFlow_putsAllDataIntoTableIfParameterTypeIsList()
throws Exception
Exceptionpublic void negativeFlow_doesNotPutObjectAttrIntoTableIfParameterTypeIsListAndThrowsSerializationException()
throws Exception
Exceptionpublic void positiveFlow_putsAllDataIntoTableIfParameterTypeIsExternalizable()
throws Exception
Exceptionpublic void negativeFlow_doesNotPutObjectAttrIntoTableIfParameterTypeIsExternalizableAndThrowsInstantiationException()
throws Exception
Exceptionpublic void negativeFlow_doesNotPutObjectAttrIntoTableIfParameterTypeIsExternalizableAndThrowsIOException()
throws Exception
Exceptionprivate <T> void testPut(T objectAttributeValue)