@Test
public void getApplications() throws Exception {

	Application app = new Application();
	app.setId("abc");
	app.setUrl("http://localhost:8080");
	registry.register(app);
	assertEquals(1, registry.getApplications().size());
	assertEquals(app, registry.getApplications().get(0));
}