// Path: src/main/java/de/galan/verjson/step/IncrementVersionStep.java
// public class IncrementVersionStep implements Step {
// 
// 	@Override
// 	public void process(JsonNode node) {
// 		Long version = MetaWrapper.getVersion(node);
// 		MetaWrapper.setVersion(node, version++);
// 	}
// 
// }
// 
// Path: src/main/java/de/galan/verjson/step/NoopStep.java
// public class NoopStep implements Step {
// 
// 	@Override
// 	public void process(JsonNode node) {
// 		// nothing
// 	}
// 
// }


import static org.assertj.core.api.Assertions.*;
import org.junit.Test;
import de.galan.commons.test.AbstractTestParent;
import de.galan.verjson.step.IncrementVersionStep;
import de.galan.verjson.step.NoopStep;
package de.galan.verjson.core;





/**
 * CUT ProxyStep
 * 
 * @author daniel
 */
public class ProxyStepTest extends AbstractTestParent {

	@Test
	public void toStringTest() throws Exception {
		ProxyStep ps1 = new ProxyStep(1L, new NoopStep());
		assertThat(ps1.toString()).isEqualTo("ProxyStep 1/NoopStep");
		ProxyStep ps2 = new ProxyStep(2L, new NoopStep());
		assertThat(ps2.toString()).isEqualTo("ProxyStep 2/NoopStep");
// Path: src/main/java/de/galan/verjson/step/IncrementVersionStep.java
// public class IncrementVersionStep implements Step {
// 
// 	@Override
// 	public void process(JsonNode node) {
// 		Long version = MetaWrapper.getVersion(node);
// 		MetaWrapper.setVersion(node, version++);
// 	}
// 
// }
// 
// Path: src/main/java/de/galan/verjson/step/NoopStep.java
// public class NoopStep implements Step {
// 
// 	@Override
// 	public void process(JsonNode node) {
// 		// nothing
// 	}
// 
// }


// Path: src/test/java/de/galan/verjson/core/ProxyStepTest.java
import static org.assertj.core.api.Assertions.*;
import org.junit.Test;
import de.galan.commons.test.AbstractTestParent;
import de.galan.verjson.step.IncrementVersionStep;
import de.galan.verjson.step.NoopStep;

package de.galan.verjson.core;





/**
 * CUT ProxyStep
 * 
 * @author daniel
 */
public class ProxyStepTest extends AbstractTestParent {

	@Test
	public void toStringTest() throws Exception {
		ProxyStep ps1 = new ProxyStep(1L, new NoopStep());
		assertThat(ps1.toString()).isEqualTo("ProxyStep 1/NoopStep");
		ProxyStep ps2 = new ProxyStep(2L, new NoopStep());
		assertThat(ps2.toString()).isEqualTo("ProxyStep 2/NoopStep");
		ProxyStep ps3 = new ProxyStep(1L, new IncrementVersionStep());