@Test(expected = IllegalArgumentException.class)
public void registerFailed3() throws Exception {

	Application app = new Application();
	app.setId("abc");
	app.setUrl("not-an-url");
	registry.register(app);
}