@Test
public void test_create()
{
RestTemplate rt = new RestTemplate();
String url = baseUrl+"/persons/";
Person person = new Person();
person.setEmail("bot@gmail.com");
person.setPassword("secret");
person.setName("SuperBot");
person.setDob(new Date());
ResponseEntity<Person> responseEntity = rt.postForEntity(url , person, Person.class);
person = responseEntity.getBody();
Assert.assertNotNull(person);
System.out.println(person.getId());
}