// Path: src/main/java/net/olemartin/spring/Bootstrap.java
// @org.springframework.context.annotation.Configuration
// @ComponentScan(basePackages = {
//         "net.olemartin.service",
//         "net.olemartin.push",
//         "net.olemartin.domain",
//         "net.olemartin.tools",
//         "net.olemartin.repository",
//         "net.olemartin.spring"
// })
// @EnableNeo4jRepositories(basePackages = "net.olemartin.repository")
// @EnableTransactionManagement
// public class Bootstrap {
// 
//     @Autowired
//     private org.neo4j.ogm.config.Configuration configuration;
// 
//     @Bean
//     public SessionFactory sessionFactory() {
//         return new SessionFactory(configuration, "net.olemartin.domain");
//     }
// 
//     @Bean
//     public Neo4jTransactionManager transactionManager() {
//         return new Neo4jTransactionManager(sessionFactory());
//     }
// }


import net.olemartin.domain.*;
import net.olemartin.spring.Bootstrap;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.neo4j.helpers.collection.Iterables;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.annotation.DirtiesContext;
import org.springframework.test.context.ActiveProfiles;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import java.util.ArrayList;
import java.util.List;
import static org.hamcrest.CoreMatchers.equalTo;
import static org.junit.Assert.assertThat;
package net.olemartin.repository;





@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(classes = Bootstrap.class)
@ActiveProfiles("test")
// Path: src/main/java/net/olemartin/spring/Bootstrap.java
// @org.springframework.context.annotation.Configuration
// @ComponentScan(basePackages = {
//         "net.olemartin.service",
//         "net.olemartin.push",
//         "net.olemartin.domain",
//         "net.olemartin.tools",
//         "net.olemartin.repository",
//         "net.olemartin.spring"
// })
// @EnableNeo4jRepositories(basePackages = "net.olemartin.repository")
// @EnableTransactionManagement
// public class Bootstrap {
// 
//     @Autowired
//     private org.neo4j.ogm.config.Configuration configuration;
// 
//     @Bean
//     public SessionFactory sessionFactory() {
//         return new SessionFactory(configuration, "net.olemartin.domain");
//     }
// 
//     @Bean
//     public Neo4jTransactionManager transactionManager() {
//         return new Neo4jTransactionManager(sessionFactory());
//     }
// }


// Path: src/test/java/net/olemartin/repository/RepositoriesTest.java
import net.olemartin.domain.*;
import net.olemartin.spring.Bootstrap;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.neo4j.helpers.collection.Iterables;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.annotation.DirtiesContext;
import org.springframework.test.context.ActiveProfiles;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import java.util.ArrayList;
import java.util.List;
import static org.hamcrest.CoreMatchers.equalTo;
import static org.junit.Assert.assertThat;

package net.olemartin.repository;





@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(classes = Bootstrap.class)
@ActiveProfiles("test")
@DirtiesContext(classMode = DirtiesContext.ClassMode.AFTER_EACH_TEST_METHOD)