@Override
    public TimeLimiter timeLimiter(final String name) {
        return timeLimiter(name, getDefaultConfig(), emptyMap());
    }
@Test
    public void timeLimiterNewWithNullNameAndConfigSupplier() {
        exception.expect(NullPointerException.class);
        exception.expectMessage(NAME_MUST_NOT_BE_NULL);
        TimeLimiterRegistry registry = new InMemoryTimeLimiterRegistry(config);

        registry.timeLimiter(null, () -> config);
    }