// Path: myeslib-core/src/main/java/org/myeslib/core/Event.java
// public interface Event extends Serializable {
// 	
// }
// 
// Path: myeslib-core/src/main/java/org/myeslib/core/data/test/CommandJustForTest.java
// @SuppressWarnings("serial")
// @Value
// public class CommandJustForTest implements Command{
//     UUID commandId;
// 	UUID id;
// 	Long targetVersion;
// }
// 
// Path: myeslib-core/src/main/java/org/myeslib/core/data/test/EventJustForTest.java
// @SuppressWarnings("serial")
// @Value
// public class EventJustForTest implements Event {
// 	UUID id;
// 	int something;
// }


import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertThat;
import java.util.Arrays;
import java.util.List;
import java.util.UUID;
import org.junit.Test;
import org.myeslib.core.Event;
import org.myeslib.core.data.test.CommandJustForTest;
import org.myeslib.core.data.test.EventJustForTest;
package org.myeslib.core.data;




public class UnitOfWorkTest {

	@Test
	public void versionShouldBeCommandVersionPlusOne() {
// Path: myeslib-core/src/main/java/org/myeslib/core/Event.java
// public interface Event extends Serializable {
// 	
// }
// 
// Path: myeslib-core/src/main/java/org/myeslib/core/data/test/CommandJustForTest.java
// @SuppressWarnings("serial")
// @Value
// public class CommandJustForTest implements Command{
//     UUID commandId;
// 	UUID id;
// 	Long targetVersion;
// }
// 
// Path: myeslib-core/src/main/java/org/myeslib/core/data/test/EventJustForTest.java
// @SuppressWarnings("serial")
// @Value
// public class EventJustForTest implements Event {
// 	UUID id;
// 	int something;
// }


// Path: myeslib-core/src/test/java/org/myeslib/core/data/UnitOfWorkTest.java
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertThat;
import java.util.Arrays;
import java.util.List;
import java.util.UUID;
import org.junit.Test;
import org.myeslib.core.Event;
import org.myeslib.core.data.test.CommandJustForTest;
import org.myeslib.core.data.test.EventJustForTest;

package org.myeslib.core.data;




public class UnitOfWorkTest {

	@Test
	public void versionShouldBeCommandVersionPlusOne() {
		List<Event> events = Arrays.asList((Event) new EventJustForTest(UUID.randomUUID(), 1));