public void testListOSTypes() throws Exception {
Set<OSType> response = client.getGuestOSApi().listOSTypes();
assert null != response;
assertTrue(response.size() >= 0);
for (OSType type : response) {
OSType newDetails = getOnlyElement(client.getGuestOSApi().listOSTypes(
ListOSTypesOptions.Builder.id(type.getId())));
assertEquals(type.getId(), newDetails.getId());
checkOSType(type);
}
}