	@Test
	public void shouldRemoveDuplicates() {

		final DuplicateDetectionWrapper duplicateDetection = new DuplicateDetectionWrapper();

		Guice.createInjector(new AbstractModule() {
			@Override
			protected void configure() {
				install(duplicateDetection.wrap(new Module1()));
				install(duplicateDetection.wrap(new Module1())); // Fine without duplicate detector
				install(Elements.getModule(Elements.getElements(duplicateDetection.wrap(new Module1()))));
			}
		});
	}