use of org.asqatasun.entity.parameterization.ParameterElement in project Asqatasun by Asqatasun.
the class ParameterDAOImplTest method testFindDefaultParameter.
public void testFindDefaultParameter() {
ParameterElement paramElement = parameterElementDAO.read(Long.valueOf(1));
Parameter param = parameterDAO.findDefaultParameter(paramElement);
assertEquals(Long.valueOf(1), param.getId());
paramElement = parameterElementDAO.read(Long.valueOf(2));
param = parameterDAO.findDefaultParameter(paramElement);
assertEquals(Long.valueOf(5), param.getId());
}
Aggregations