@Test
  public void testConstructorBadArgs() {
    properties.setProperty("store.compaction.triggers", "@@BAD_TRIGGER@@");
    config = new StoreConfig(new VerifiableProperties(properties));
    StorageManagerMetrics metrics = new StorageManagerMetrics(new MetricRegistry());
    try {
      new CompactionManager(MOUNT_PATH, config, Collections.singleton(blobStore), metrics, time);
      fail("Construction should have failed because one of the trigger values is invalid");
    } catch (IllegalArgumentException e) {
      // expected. Nothing to do.
    }
  }
Tests construction failure on bad input.
ambry-store/src/test/java/com/github/ambry/store/CompactionManagerTest.java