> + servers = serverApi().getList();
> +
> + assertNotNull(servers);
> + assertFalse(servers.isEmpty());
> + Assert.assertTrue(servers.size() > 0);
> + }
> +
> + @Test(dependsOnMethods = "testList")
> + public void testListWithOption() {
> + GenericQueryOptions options = new GenericQueryOptions();
> + options.options(0, 0, null, "test", null);
> + List<Server> serversWithQuery = serverApi().getList(options);
> +
> + assertNotNull(serversWithQuery);
> + assertFalse(serversWithQuery.isEmpty());
> + Assert.assertTrue(serversWithQuery.size() > 0);
Remove this redundant assertion and all similar ones.
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/275/files/0767d011a984011133c9e34b3389b449ca0756cd#r68670944