// Path: hybricache/src/test/java/org/hybricache/testDao/TestDao.java
// public interface TestDao {
// 
// 	TestBean findById(int id);
// 	
// 	TestBean findByName(String name);
// 	
// }


import org.hybricache.testDao.TestDao;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * 
 */
package org.hybricache.needRedisRunning.ehCacheTests;


/**
 * The EhCacheDaoAppTest class
 *
 * @author Batir Akhmerov
 * Created on Jan 26, 2017
 */
public class EhCacheDaoAppTest {
	
	private static final Logger log = LoggerFactory.getLogger(EhCacheDaoAppTest.class);

	//@Test
	public void test() {

	    ApplicationContext context = new AnnotationConfigApplicationContext(TestAppConfig.class);

// Path: hybricache/src/test/java/org/hybricache/testDao/TestDao.java
// public interface TestDao {
// 
// 	TestBean findById(int id);
// 	
// 	TestBean findByName(String name);
// 	
// }


// Path: hybricache/src/test/java/org/hybricache/needRedisRunning/ehCacheTests/EhCacheDaoAppTest.java
import org.hybricache.testDao.TestDao;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * 
 */
package org.hybricache.needRedisRunning.ehCacheTests;


/**
 * The EhCacheDaoAppTest class
 *
 * @author Batir Akhmerov
 * Created on Jan 26, 2017
 */
public class EhCacheDaoAppTest {
	
	private static final Logger log = LoggerFactory.getLogger(EhCacheDaoAppTest.class);

	//@Test
	public void test() {

	    ApplicationContext context = new AnnotationConfigApplicationContext(TestAppConfig.class);

	    TestDao obj = (TestDao) context.getBean("testDao");
