  @Test
  public void tasksForInstanceThrowsForNonexistentInstance() {

    ClusterSummary summary = new ClusterSummary(snapshot);

    assertThatThrownBy(() -> summary.tasksForInstance(instance("i-1"))).hasMessageContaining("i-1");
  }