@Test
public void testUpgradeToCollectorAddressBothMissing() {

    List<String> lines = ImmutableList.of("before=test", "after=test");
    List<String> newLines = PropertiesFiles.upgradeToCollectorAddressIfNeeded(lines);
    assertThat(newLines).containsExactly("before=test", "after=test");
}