### Question:
AsnSequenceOfSequenceCodec extends AsnObjectCodecBase<L> { public AsnSequenceCodec<T> getCodecAt(final int index) { Objects.requireNonNull(codecs); final AsnSequenceCodec<T> subCodec; if (codecs.size() == 0 || codecs.size() <= index) { subCodec = subCodecSupplier.get(); codecs.add(index, subCodec); } else { subCodec = codecs.get(index); } return subCodec; } AsnSequenceOfSequenceCodec(
      final Supplier<L> listConstructor, final Supplier<AsnSequenceCodec<T>> subCodecSupplier
  ); int size(); AsnSequenceCodec<T> getCodecAt(final int index); @Override L decode(); @Override void encode(final L values);  }### Answer:
@Test public void getCodecAtNegativeIndex() { expectedException.expect(IndexOutOfBoundsException.class); codec.getCodecAt(-1); }
@Test public void getCodecAtWithRandomAccess() { expectedException.expect(IndexOutOfBoundsException.class); codec.getCodecAt(100); }