public void testListIPForwardingRules() throws Exception {
Set<IPForwardingRule> response = client.getNATApi().listIPForwardingRules();
assert null != response;
assertTrue(response.size() >= 0);
for (IPForwardingRule rule : response) {
IPForwardingRule newDetails = getOnlyElement(client.getNATApi().listIPForwardingRules(
ListIPForwardingRulesOptions.Builder.id(rule.getId())));
assertEquals(rule.getId(), newDetails.getId());
checkRule(rule);
}
}