fixed unit test

This commit is contained in:
Adrian Cole 2010-06-06 23:15:00 -07:00
parent 84ad021268
commit bdf03e65d8
1 changed files with 2 additions and 3 deletions

View File

@ -19,8 +19,6 @@
package org.jclouds.ibmdev.functions;
import static org.testng.Assert.assertEquals;
import java.io.IOException;
import java.util.Set;
@ -92,6 +90,7 @@ public class ParseImagesFromJsonTest {
Set<? extends Image> compare = handler.apply(new HttpResponse(ParseImagesFromJsonTest.class
.getResourceAsStream("/images.json")));
assertEquals(compare, ImmutableSet.of(image1, image2));
assert (compare.contains(image1));
assert (compare.contains(image2));
}
}