@Test
public void doesNotScheduleRepairForSystemKeyspaces() throws Exception {

  context.storage.addCluster(cluster);
  when(jmxProxy.getKeyspaces()).thenReturn(Lists.newArrayList("system", "system_auth", "system_traces", "keyspace2"));
  when(jmxProxy.getTablesForKeyspace("keyspace2")).thenReturn(
          Sets.newHashSet(Table.builder().withName("table1").withCompactionStrategy(STCS).build()));
  clusterRepairAuto.scheduleRepairs(cluster);
  assertThat(context.storage.getAllRepairSchedules()).hasSize(1);
  assertThatClusterRepairSchedules(context.storage.getRepairSchedulesForCluster(cluster.getName()))
      .hasScheduleCount(1)
      .repairScheduleForKeyspace("keyspace2");
}