@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
Exception
public void positiveFlow_putsAllDataIntoTableIfParameterTypeIsInteger() throws Exception
Exception
public void positiveFlow_putsAllDataIntoTableIfParameterTypeIsFloat() throws Exception
Exception
public void positiveFlow_putsAllDataIntoTableIfParameterTypeIsLong() throws Exception
Exception
public void positiveFlow_putsAllDataIntoTableIfParameterTypeIsMap() throws Exception
Exception
public void positiveFlow_putsAllDataIntoTableIfParameterTypeIsSet() throws Exception
Exception
public void positiveFlow_putsAllDataIntoTableIfParameterTypeIsList() throws Exception
Exception
public void negativeFlow_doesNotPutObjectAttrIntoTableIfParameterTypeIsListAndThrowsSerializationException() throws Exception
Exception
public void positiveFlow_putsAllDataIntoTableIfParameterTypeIsExternalizable() throws Exception
Exception
public void negativeFlow_doesNotPutObjectAttrIntoTableIfParameterTypeIsExternalizableAndThrowsInstantiationException() throws Exception
Exception
public void negativeFlow_doesNotPutObjectAttrIntoTableIfParameterTypeIsExternalizableAndThrowsIOException() throws Exception
Exception
private <T> void testPut(T objectAttributeValue)