### Question:
RecordListImpl implements RecordList { @Override public int getSize() { return records.size(); } RecordListImpl(final Record parent, final Structure structure, final int listSize);   RecordListImpl(final Record parent, final Structure structure, final int listSize,
            final RecordImplFactory recordFactory); @Override List<Record> getAll(); @Override Record get(final int index); @Override int getSize(); @Override Structure getStructure(); @Override Iterator<Record> iterator();  }### Answer:
@Test public void testGetSize() { final RecordListImpl list = new RecordListImpl(MOCK_RECORD, MOCK_STRUCTURE, LIST_SIZE, MOCK_FACTORY); assertThat(list.getSize()).isEqualTo(LIST_SIZE); }