@Test
public void testCallStackFramesDuplicatedInsert() {

  LegacyAllocationConverter converter = new LegacyAllocationConverter();
  List<StackTraceElement> stackTraceElementList = new ArrayList<>();
  stackTraceElementList.add(new StackTraceElement(CLASS_NAME, METHOD_NAME, FILE_NAME, LINE_NUMBER));
  LegacyAllocationConverter.CallStack callStack = converter.addCallStack(stackTraceElementList);
  assertThat(converter.addCallStack(stackTraceElementList)).isEqualTo(callStack);
}