// Path: src/main/java/com/getit/todoapp/repository/TodoRepository.java
// @Repository
// @RooJpaRepository(domainType = Todo.class)
// public interface TodoRepository extends JpaSpecificationExecutor<Todo>, JpaRepository<Todo, Long> {
// 	
// 	@Query("select t from Todo t where t.userName.userName = ?1")
// 	List<Todo> findTodosByUserName(String userName);
// 	
// 	@Query("select t from Todo t where t.userName.userName = ?1 and t.id= ?2")
// 	Todo findTodoByUserNameAndId(String userName,Long id);
// }
// 
// Path: src/main/java/com/getit/todoapp/service/TodoService.java
// @RooService(domainTypes = { com.getit.todoapp.domain.Todo.class })
// public interface TodoService {
// 
// 	public abstract long countAllTodoes();
// 
// 
// 	public abstract void deleteTodo(Todo todo);
// 
// 
// 	public abstract Todo findTodo(Long id);
// 
// 
// 	public abstract List<Todo> findAllTodoes();
// 
// 
// 	public abstract List<Todo> findTodoEntries(int firstResult, int maxResults);
// 
// 
// 	public abstract void saveTodo(Todo todo);
// 
// 
// 	public abstract Todo updateTodo(Todo todo);
// 
// 	public abstract List<Todo> findTodosByUserName(String userName);
// 	
// 	public abstract Todo findTodoByUserNameAndId(String userName,Long id);
// }


import com.getit.todoapp.repository.TodoRepository;
import com.getit.todoapp.service.TodoService;
import java.util.Iterator;
import java.util.List;
import javax.validation.ConstraintViolation;
import javax.validation.ConstraintViolationException;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.roo.addon.test.RooIntegrationTest;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.transaction.annotation.Transactional;
package com.getit.todoapp.domain;

@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = "classpath*:/META-INF/spring/applicationContext*.xml")
@Transactional
@Configurable
@RooIntegrationTest(entity = Todo.class)
public class TodoIntegrationTest {

    @Test
    public void testMarkerMethod() {
    }

	@Autowired
    TodoDataOnDemand dod;

	@Autowired
// Path: src/main/java/com/getit/todoapp/repository/TodoRepository.java
// @Repository
// @RooJpaRepository(domainType = Todo.class)
// public interface TodoRepository extends JpaSpecificationExecutor<Todo>, JpaRepository<Todo, Long> {
// 	
// 	@Query("select t from Todo t where t.userName.userName = ?1")
// 	List<Todo> findTodosByUserName(String userName);
// 	
// 	@Query("select t from Todo t where t.userName.userName = ?1 and t.id= ?2")
// 	Todo findTodoByUserNameAndId(String userName,Long id);
// }
// 
// Path: src/main/java/com/getit/todoapp/service/TodoService.java
// @RooService(domainTypes = { com.getit.todoapp.domain.Todo.class })
// public interface TodoService {
// 
// 	public abstract long countAllTodoes();
// 
// 
// 	public abstract void deleteTodo(Todo todo);
// 
// 
// 	public abstract Todo findTodo(Long id);
// 
// 
// 	public abstract List<Todo> findAllTodoes();
// 
// 
// 	public abstract List<Todo> findTodoEntries(int firstResult, int maxResults);
// 
// 
// 	public abstract void saveTodo(Todo todo);
// 
// 
// 	public abstract Todo updateTodo(Todo todo);
// 
// 	public abstract List<Todo> findTodosByUserName(String userName);
// 	
// 	public abstract Todo findTodoByUserNameAndId(String userName,Long id);
// }


// Path: src/test/java/com/getit/todoapp/domain/TodoIntegrationTest.java
import com.getit.todoapp.repository.TodoRepository;
import com.getit.todoapp.service.TodoService;
import java.util.Iterator;
import java.util.List;
import javax.validation.ConstraintViolation;
import javax.validation.ConstraintViolationException;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.roo.addon.test.RooIntegrationTest;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.transaction.annotation.Transactional;

package com.getit.todoapp.domain;

@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = "classpath*:/META-INF/spring/applicationContext*.xml")
@Transactional
@Configurable
@RooIntegrationTest(entity = Todo.class)
public class TodoIntegrationTest {

    @Test
    public void testMarkerMethod() {
    }

	@Autowired
    TodoDataOnDemand dod;

	@Autowired
    TodoService todoService;