use of org.ovirt.engine.core.common.businessentities.Provider in project ovirt-engine by oVirt.
the class BackendOpenStackImageProviderResourceTest method getEntity.
@Override
protected Provider getEntity(int index) {
Provider provider = mock(Provider.class);
when(provider.getId()).thenReturn(GUIDS[index]);
when(provider.getName()).thenReturn(NAMES[index]);
when(provider.getDescription()).thenReturn(DESCRIPTIONS[index]);
return provider;
}
use of org.ovirt.engine.core.common.businessentities.Provider in project ovirt-engine by oVirt.
the class BackendOpenStackNetworkProvidersResourceTest method getEntity.
@Override
protected Provider getEntity(int index) {
Provider provider = mock(Provider.class);
when(provider.getId()).thenReturn(GUIDS[index]);
when(provider.getName()).thenReturn(NAMES[index]);
when(provider.getDescription()).thenReturn(DESCRIPTIONS[index]);
when(provider.getType()).thenReturn(ProviderType.OPENSTACK_NETWORK);
return provider;
}
use of org.ovirt.engine.core.common.businessentities.Provider in project ovirt-engine by oVirt.
the class BackendOpenStackVolumeProvidersResourceTest method getEntity.
@Override
protected Provider getEntity(int index) {
Provider provider = mock(Provider.class);
when(provider.getId()).thenReturn(GUIDS[index]);
when(provider.getName()).thenReturn(NAMES[index]);
when(provider.getDescription()).thenReturn(DESCRIPTIONS[index]);
return provider;
}
use of org.ovirt.engine.core.common.businessentities.Provider in project ovirt-engine by oVirt.
the class BackendExternalDiscoveredHostResourceTest method getProvider.
private Provider getProvider() {
Provider provider = mock(Provider.class);
when(provider.getId()).thenReturn(GUIDS[0]);
when(provider.getName()).thenReturn(NAMES[0]);
return provider;
}
use of org.ovirt.engine.core.common.businessentities.Provider in project ovirt-engine by oVirt.
the class BackendExternalDiscoveredHostsResourceTest method getProvider.
private Provider getProvider() {
Provider provider = mock(Provider.class);
when(provider.getId()).thenReturn(GUIDS[0]);
when(provider.getName()).thenReturn(NAMES[0]);
return provider;
}
Aggregations