    @Test
    public void testConflictingExplicitPriorities() {

        thrown.expect(CreationException.class);
        thrown.expectMessage(containsString("2 errors"));
        thrown.expectMessage(containsString("1) Duplicate ListBinder<java.lang.String> with priority [1]"));
        thrown.expectMessage(containsString("2) Duplicate ListBinder<java.lang.String> with priority [1]"));
        thrown.expectMessage(containsString("at com.tavianator.sangria.listbinder.ListBinderTest"));

        Guice.createInjector(new AbstractModule() {
            @Override
            protected void configure() {
                ListBinder.build(binder(), String.class)
                        .withPriority(1);
            }
        }, new AbstractModule() {
            @Override
            protected void configure() {
                ListBinder.build(binder(), String.class)
                        .withPriority(1);
            }
        });
    }