test_class.file: model/src/test/java/com/abiquo/server/core/config/LicenseDAOTest.java
test_class.identifier: LicenseDAOTest
test_class.superclass: extends DefaultDAOTestBase<LicenseDAO, License>
test_case.body: @Test
      public void test_existsAnyOtherWithData()
      {
          License license1 = createUniqueEntity();
          License license2 = createUniqueEntity();
          license1.setData("first license");
          license2.setData("second license");
          ds().persistAll(license1, license2);
  
          LicenseDAO dao = createDaoForRollbackTransaction();
          License license = dao.findById(license1.getId());
  
          assertFalse(dao.existsAnyOtherWithData(license, "UNEXISTING_NAME"));
          assertFalse(dao.existsAnyOtherWithData(license, "first license"));
          assertTrue(dao.existsAnyOtherWithData(license, "second license"));
      }
test_case.class_method_signature: LicenseDAOTest.test_existsAnyOtherWithData()
test_case.full_signature: @Test public void test_existsAnyOtherWithData()
test_case.identifier: test_existsAnyOtherWithData
test_case.invocations: createUniqueEntity createUniqueEntity setData setData persistAll ds createDaoForRollbackTransaction findById getId assertFalse existsAnyOtherWithData assertFalse existsAnyOtherWithData assertTrue existsAnyOtherWithData
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void test_existsAnyOtherWithData()
focal_class.file: model/src/main/java/com/abiquo/server/core/config/LicenseDAO.java
focal_class.identifier: LicenseDAO
focal_class.class_method_signature: LicenseDAO.LicenseDAO()
focal_class.full_signature: public  LicenseDAO()
focal_class.identifier: LicenseDAO
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  LicenseDAO()
focal_class.class_method_signature: LicenseDAO.LicenseDAO(EntityManager entityManager)
focal_class.full_signature: public  LicenseDAO(EntityManager entityManager)
focal_class.identifier: LicenseDAO
focal_class.modifiers: public
focal_class.parameters: (EntityManager entityManager)
focal_class.signature:  LicenseDAO(EntityManager entityManager)
focal_class.class_method_signature: LicenseDAO.existsAnyWithData(String data)
focal_class.full_signature: public boolean existsAnyWithData(String data)
focal_class.identifier: existsAnyWithData
focal_class.modifiers: public
focal_class.parameters: (String data)
focal_class.return: boolean
focal_class.signature: boolean existsAnyWithData(String data)
focal_class.class_method_signature: LicenseDAO.existsAnyOtherWithData(License license, String data)
focal_class.full_signature: public boolean existsAnyOtherWithData(License license, String data)
focal_class.identifier: existsAnyOtherWithData
focal_class.modifiers: public
focal_class.parameters: (License license, String data)
focal_class.return: boolean
focal_class.signature: boolean existsAnyOtherWithData(License license, String data)
focal_class.class_method_signature: LicenseDAO.equalsData(String data)
focal_class.full_signature: private Criterion equalsData(String data)
focal_class.identifier: equalsData
focal_class.modifiers: private
focal_class.parameters: (String data)
focal_class.return: Criterion
focal_class.signature: Criterion equalsData(String data)
focal_class.superclass: extends DefaultDAOBase<Integer, License>
focal_method.body: public boolean existsAnyOtherWithData(License license, String data)
      {
          return this.existsAnyOtherByCriterions(license, equalsData(data));
      }
focal_method.class_method_signature: LicenseDAO.existsAnyOtherWithData(License license, String data)
focal_method.full_signature: public boolean existsAnyOtherWithData(License license, String data)
focal_method.identifier: existsAnyOtherWithData
focal_method.invocations: existsAnyOtherByCriterions equalsData
focal_method.modifiers: public
focal_method.parameters: (License license, String data)
focal_method.return: boolean
focal_method.signature: boolean existsAnyOtherWithData(License license, String data)