// Path: src/test/java/de/galan/verjson/test/TestBean.java
// public class TestBean {
// 
// 	public String content;
// 	public Long number;
// 	public Object unrecognized;
// 
// 
// 	public TestBean content(String value) {
// 		content = value;
// 		return this;
// 	}
// 
// 
// 	public TestBean number(Long value) {
// 		number = value;
// 		return this;
// 	}
// 
// 
// 	public TestBean unrecognized(Object obj) {
// 		unrecognized = obj;
// 		return this;
// 	}
// 
// 
// 	@Override
// 	public int hashCode() {
// 		return Objects.hash(content, number);
// 	}
// 
// 
// 	@Override
// 	public boolean equals(Object obj) {
// 		return EqualsBuilder.reflectionEquals(this, obj, false);
// 	}
// 
// }


import static de.galan.commons.test.Tests.*;
import net.javacrumbs.jsonunit.fluent.JsonFluentAssert;
import org.junit.Before;
import org.junit.Test;
import de.galan.commons.time.ApplicationClock;
import de.galan.verjson.test.TestBean;
package de.galan.verjson.core;





/**
 * Test behaviour of timestamp in MetaWrapper,Version,Verjson
 *
 * @author daniel
 */
public class VerjsonTimestamp {

	private Versions versions;
	private TestBean bean;


	@Before
	public void before() {
		versions = new Versions();
		bean = new TestBean().content("abc");
		ApplicationClock.setUtc("2014-05-12T07:09:48Z");
	}


	@Test
	public void includeTimestamp() throws Exception {
// Path: src/test/java/de/galan/verjson/test/TestBean.java
// public class TestBean {
// 
// 	public String content;
// 	public Long number;
// 	public Object unrecognized;
// 
// 
// 	public TestBean content(String value) {
// 		content = value;
// 		return this;
// 	}
// 
// 
// 	public TestBean number(Long value) {
// 		number = value;
// 		return this;
// 	}
// 
// 
// 	public TestBean unrecognized(Object obj) {
// 		unrecognized = obj;
// 		return this;
// 	}
// 
// 
// 	@Override
// 	public int hashCode() {
// 		return Objects.hash(content, number);
// 	}
// 
// 
// 	@Override
// 	public boolean equals(Object obj) {
// 		return EqualsBuilder.reflectionEquals(this, obj, false);
// 	}
// 
// }


// Path: src/test/java/de/galan/verjson/core/VerjsonTimestamp.java
import static de.galan.commons.test.Tests.*;
import net.javacrumbs.jsonunit.fluent.JsonFluentAssert;
import org.junit.Before;
import org.junit.Test;
import de.galan.commons.time.ApplicationClock;
import de.galan.verjson.test.TestBean;

package de.galan.verjson.core;





/**
 * Test behaviour of timestamp in MetaWrapper,Version,Verjson
 *
 * @author daniel
 */
public class VerjsonTimestamp {

	private Versions versions;
	private TestBean bean;


	@Before
	public void before() {
		versions = new Versions();
		bean = new TestBean().content("abc");
		ApplicationClock.setUtc("2014-05-12T07:09:48Z");
	}


	@Test
	public void includeTimestamp() throws Exception {
		Verjson<TestBean> verjson = Verjson.create(TestBean.class, versions);