// Path: user-registration-application/src/main/java/com/ewolff/user_registration/RegistrationApplication.java
// @ComponentScan
// @EnableAutoConfiguration
// public class RegistrationApplication {
// 
// 	public static void main(String[] args) {
// 		SpringApplication.run(RegistrationApplication.class, args);
// 	}
// }
// 
// Path: user-registration-application/src/main/java/com/ewolff/user_registration/domain/User.java
// public class User {
// 
// 	private String name;
// 	
// 	private String firstname;
// 	
// 	private String email;
// 	
// 	private User() {
// 	}
// 
// 	public void setName(String name) {
// 		this.name = name;
// 	}
// 
// 	public void setFirstname(String firstname) {
// 		this.firstname = firstname;
// 	}
// 
// 	public void setEmail(String email) {
// 		this.email = email;
// 	}
// 
// 	public User(String firstname, String name, String email) {
// 		super();
// 		this.firstname = firstname;
// 		this.name = name;
// 		this.email = email;
// 	}
// 
// 	public String getName() {
// 		return name;
// 	}
// 
// 	public String getFirstname() {
// 		return firstname;
// 	}
// 
// 	public String getEmail() {
// 		return email;
// 	}
// 	
// 	
// }


import static org.junit.Assert.*;
import javax.sql.DataSource;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.SpringApplicationContextLoader;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.transaction.annotation.Transactional;
import com.ewolff.user_registration.RegistrationApplication;
import com.ewolff.user_registration.domain.User;
package com.ewolff.user_registration.service;





@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(classes=RegistrationApplication.class, loader=SpringApplicationContextLoader.class)
@Transactional
public class RegistrationServiceTest {

	@Autowired
	private RegistrationService registrationService; 
		
	@Autowired
	private JdbcTemplate jdbcTemplate;
	
	@Test
	public void simpleRegistration() {
// Path: user-registration-application/src/main/java/com/ewolff/user_registration/RegistrationApplication.java
// @ComponentScan
// @EnableAutoConfiguration
// public class RegistrationApplication {
// 
// 	public static void main(String[] args) {
// 		SpringApplication.run(RegistrationApplication.class, args);
// 	}
// }
// 
// Path: user-registration-application/src/main/java/com/ewolff/user_registration/domain/User.java
// public class User {
// 
// 	private String name;
// 	
// 	private String firstname;
// 	
// 	private String email;
// 	
// 	private User() {
// 	}
// 
// 	public void setName(String name) {
// 		this.name = name;
// 	}
// 
// 	public void setFirstname(String firstname) {
// 		this.firstname = firstname;
// 	}
// 
// 	public void setEmail(String email) {
// 		this.email = email;
// 	}
// 
// 	public User(String firstname, String name, String email) {
// 		super();
// 		this.firstname = firstname;
// 		this.name = name;
// 		this.email = email;
// 	}
// 
// 	public String getName() {
// 		return name;
// 	}
// 
// 	public String getFirstname() {
// 		return firstname;
// 	}
// 
// 	public String getEmail() {
// 		return email;
// 	}
// 	
// 	
// }


// Path: user-registration-application/src/test/java/com/ewolff/user_registration/service/RegistrationServiceTest.java
import static org.junit.Assert.*;
import javax.sql.DataSource;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.SpringApplicationContextLoader;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.transaction.annotation.Transactional;
import com.ewolff.user_registration.RegistrationApplication;
import com.ewolff.user_registration.domain.User;

package com.ewolff.user_registration.service;





@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(classes=RegistrationApplication.class, loader=SpringApplicationContextLoader.class)
@Transactional
public class RegistrationServiceTest {

	@Autowired
	private RegistrationService registrationService; 
		
	@Autowired
	private JdbcTemplate jdbcTemplate;
	
	@Test
	public void simpleRegistration() {
		User user = new User("Eberhard","Wolff","eberhard.wolff@gmail.com");