@Override
    public boolean add(ResourceConfig resourceConfig) {
        if (this.contains(resourceConfig) || isBlank(resourceConfig.getName())) {
            return false;
        }

        super.add(resourceConfig);
        return true;
    }
@Test
    public void shouldNotBeAbleToAddResourceWithWhiteSpaceAsName() {
        ResourceConfigs actual = new ResourceConfigs();
        actual.add(new ResourceConfig(" "));
        assertThat(actual.size(), is(0));
    }