### Question:
InstructionSet implements Iterable<InstructionBlock> { public int getInstructionCount() { return instructionCount; } InstructionSet(AddressFactory addrFactory); void addBlock(InstructionBlock block); InstructionBlock getInstructionBlockContaining(Address address); InstructionBlock findFirstIntersectingBlock(Address min, Address max); Instruction getInstructionAt(Address address); Address getMinAddress(); AddressSetView getAddressSet(); @Override String toString(); int getInstructionCount(); boolean containsBlockAt(Address blockAddr); boolean intersects(Address minAddress, Address maxAddress); @Override Iterator<InstructionBlock> iterator(); Iterator<InstructionBlock> emptyBlockIterator(); List<InstructionError> getConflicts();  }### Answer:
@Test public void testInstructionCount() { Assert.assertEquals(40, instructionSet.getInstructionCount()); }