@Test
void write_int_key_scoredistribution() throws Exception{

  Map<TermId, ObjectScoreDistribution> scoreDistributionMap = new HashMap<>();
  TermId tid1 = TermId.of("HP:1");
  SortedMap<Double, Double> sortedMap = ImmutableSortedMap.of(0.0, 0.2, 0.5, 0.6, 1.0, 1.0);
  scoreDistributionMap.put(tid1, new ObjectScoreDistribution(tid1, 2, 3, sortedMap));
  ScoreDistribution integerScoreDistribution = new ScoreDistribution(2, scoreDistributionMap);
  Assertions.assertDoesNotThrow(() -> dbWriter.write(2, integerScoreDistribution));
}