    @Test
    public void testNoImplsBoundDoesntCrash() {

        Injector injector = Guice.createInjector(new AbstractModule() {
            @Override
            protected void configure() {
                bind(FooRegistry.class);
                Multibinder.newSetBinder(binder(), Foo.class);
            }
        });
        FooRegistry registry = injector.getInstance(FooRegistry.class);

        try {
            registry.get("foo");
            fail();
        } catch (IllegalArgumentException e) {
            assertEquals("Unknown id <foo>", e.getMessage());
        }
    }