@Override
    public Hedge hedge(final String name) {
        return hedge(name, getDefaultConfig(), emptyMap());
    }
@Test
    public void hedgeNewWithNullNameAndNonDefaultConfig() {
        exception.expect(NullPointerException.class);
        exception.expectMessage(NAME_MUST_NOT_BE_NULL);
        HedgeRegistry registry = HedgeRegistry.builder().withDefaultConfig(config).build();

        registry.hedge(null, config);
    }