	@Test
	public void testCreatePerson() {

		assertEquals(0, service.getAllPersons().size());

		String name = "Oscar";

		try {
			service.createPerson(name);
		} catch (IllegalArgumentException e) {
			// Check that no error occurred
			fail();
		}

		List<Person> allPersons = service.getAllPersons();

		assertEquals(1, allPersons.size());
		assertEquals(name, allPersons.get(0).getName());
	}