@Test
  public void testFindAll() {
    Assert.assertEquals(3, hostVersionDAO.findAll().size());
  }
Test the {@link HostVersionDAO#findAll()} method.
ambari-server/src/test/java/org/apache/ambari/server/orm/dao/HostVersionDAOTest.java