@Test
public void isRegistered() throws Exception {

	Application app = new Application();
	app.setId("abc");
	app.setUrl("http://localhost:8080");
	registry.register(app);
	assertFalse(registry.isRegistered("xyz"));
	assertTrue(registry.isRegistered("abc"));
}