@Test
public void testPartiallyInvalid() {

    MapConfig config = new MapConfig(CollectionsExt.merge(
            TokenBucketTestConfigurations.NOT_SHARED_BAD_PROPERTIES,
            SHARED_ANY_PROPERTIES
    ));
    ArchaiusTokenBucketAdmissionConfigurationParser parser = new ArchaiusTokenBucketAdmissionConfigurationParser(config);
    List<TokenBucketConfiguration> configuration = parser.get();
    assertThat(configuration).hasSize(1);
    assertThat(configuration.get(0).getName()).isEqualTo(SHARED_ANY_CONFIGURATION.getName());
}