use of org.ovirt.engine.api.model.LogicalUnit in project ovirt-engine by oVirt.
the class StorageLogicalUnitMapperTest method postPopulate.
@Override
protected HostStorage postPopulate(HostStorage from) {
from.setType(MappingTestHelper.shuffle(StorageType.class));
LogicalUnit unit = new LogicalUnit();
unit.setId(from.getId());
from.getLogicalUnits().unsetLogicalUnits();
from.getLogicalUnits().getLogicalUnits().add(unit);
return from;
}
Aggregations