// Path: spring-integration-aws/src/test/java/org/springframework/integration/aws/support/TestPojo.java
// public class TestPojo {
// 
// 	private String name;
// 	private String email;
// 
// 	public String getName() {
// 		return name;
// 	}
// 
// 	public void setName(String name) {
// 		this.name = name;
// 	}
// 
// 	public String getEmail() {
// 		return email;
// 	}
// 
// 	public void setEmail(String email) {
// 		this.email = email;
// 	}
// 
// 	@Override
// 	public boolean equals(Object obj) {
// 		boolean same = false;
// 		if (this.getClass().isInstance(obj)) {
// 			TestPojo other = (TestPojo) obj;
// 			same = ((this.name == null || this.name.equals(other.name)) && (this.email == null || this.email
// 					.equals(other.email)));
// 		}
// 		return same;
// 	}
// 
// }


import static junit.framework.Assert.*;
import java.util.Arrays;
import java.util.Date;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
import org.springframework.integration.Message;
import org.springframework.integration.MessageHeaders;
import org.springframework.integration.aws.support.TestPojo;
import org.springframework.integration.support.MessageBuilder;
package org.springframework.integration.aws;




@RunWith(JUnit4.class)
public class JsonMessageMarshallerTest {

	private JsonMessageMarshaller marshaller;

	@Before
	public void setup() {
		marshaller = new JsonMessageMarshaller();
	}

	@Test
	public void testSerialization() throws MessageMarshallerException {

// Path: spring-integration-aws/src/test/java/org/springframework/integration/aws/support/TestPojo.java
// public class TestPojo {
// 
// 	private String name;
// 	private String email;
// 
// 	public String getName() {
// 		return name;
// 	}
// 
// 	public void setName(String name) {
// 		this.name = name;
// 	}
// 
// 	public String getEmail() {
// 		return email;
// 	}
// 
// 	public void setEmail(String email) {
// 		this.email = email;
// 	}
// 
// 	@Override
// 	public boolean equals(Object obj) {
// 		boolean same = false;
// 		if (this.getClass().isInstance(obj)) {
// 			TestPojo other = (TestPojo) obj;
// 			same = ((this.name == null || this.name.equals(other.name)) && (this.email == null || this.email
// 					.equals(other.email)));
// 		}
// 		return same;
// 	}
// 
// }


// Path: spring-integration-aws/src/test/java/org/springframework/integration/aws/JsonMessageMarshallerTest.java
import static junit.framework.Assert.*;
import java.util.Arrays;
import java.util.Date;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
import org.springframework.integration.Message;
import org.springframework.integration.MessageHeaders;
import org.springframework.integration.aws.support.TestPojo;
import org.springframework.integration.support.MessageBuilder;

package org.springframework.integration.aws;




@RunWith(JUnit4.class)
public class JsonMessageMarshallerTest {

	private JsonMessageMarshaller marshaller;

	@Before
	public void setup() {
		marshaller = new JsonMessageMarshaller();
	}

	@Test
	public void testSerialization() throws MessageMarshallerException {

		TestPojo pojo = new TestPojo();