### Question:
YamlQuestionDaoImpl implements QuestionDao { @Override public int size() { return questions.size(); } @SuppressWarnings("unchecked")  YamlQuestionDaoImpl(ResourceSupplier resourceSupplier); @Override Question getByIndex(int index); @Override int size();  }### Answer:
@Test public void countOfQuestions() { assertEquals(2, dao.size()); }