### Question:
AbstractDaoAdapterRegister extends AbstractDaoRegister<D> { public D getDefaultDao() { if(defaultDao == null) { throw new IllegalStateException("No default DAO is set on this '" + this.getClass().getName() + "' DaoRegister."); } return defaultDao; } AbstractDaoAdapterRegister(A defaultAdaptable);  AbstractDaoAdapterRegister(A defaultAdaptable, Map<String, ? extends A> adaptableMap);  AbstractDaoAdapterRegister(Map<String, ? extends A> adaptableMap); D getDefaultDao(); D getDao(String name);  }### Answer:
@Test(expectedExceptions = IllegalStateException.class) public void test_no_default_adaptable() { Mock mock = new Mock(new HashMap<String, Object>()); mock.getDefaultDao(); }