use of org.ovirt.engine.core.common.businessentities.Erratum.ErrataType in project ovirt-engine by oVirt.
the class GetErrataCountsForHostQueryTest method noAvailableHostErrata.
@Test
public void noAvailableHostErrata() {
setupToReportErrata(Collections.emptyList());
getQuery().executeQueryCommand();
assertNotNull(getQuery().getQueryReturnValue().getReturnValue());
ErrataCounts returnValue = getQuery().getQueryReturnValue().getReturnValue();
for (ErrataType type : ErrataType.values()) {
assertEquals(0, returnValue.getCountByType(type));
}
}
Aggregations