@Test void fileVersion1HeaderIsRejected() { assertThat(balanceFileReader.isFirstLineFromFileVersion(VERSION_1_TIMESTAMP_HEADER_PREFIX)).isFalse(); }
public boolean isFirstLineFromFileVersion(String firstLine) { return StringUtils.startsWith(firstLine, VERSION_2_HEADER_PREFIX); }
BalanceFileReaderImplV2 implements BalanceFileReader { public boolean isFirstLineFromFileVersion(String firstLine) { return StringUtils.startsWith(firstLine, VERSION_2_HEADER_PREFIX); } }
BalanceFileReaderImplV2 implements BalanceFileReader { public boolean isFirstLineFromFileVersion(String firstLine) { return StringUtils.startsWith(firstLine, VERSION_2_HEADER_PREFIX); }  }
BalanceFileReaderImplV2 implements BalanceFileReader { public boolean isFirstLineFromFileVersion(String firstLine) { return StringUtils.startsWith(firstLine, VERSION_2_HEADER_PREFIX); }  @Override Stream<AccountBalance> read(File file); boolean isFirstLineFromFileVersion(String firstLine); }
BalanceFileReaderImplV2 implements BalanceFileReader { public boolean isFirstLineFromFileVersion(String firstLine) { return StringUtils.startsWith(firstLine, VERSION_2_HEADER_PREFIX); }  @Override Stream<AccountBalance> read(File file); boolean isFirstLineFromFileVersion(String firstLine);  }