@Test
public void getAmazonItemsTest() {

    String[] urls = itemsExamples;
    AmazonItemLookUp lookUp = new AmazonItemLookUp(urls);
    AmazonItem[] items = lookUp.getAmazonItems();
    for (int i = 0; i < items.length; i++) {
        System.out.printf("Item %d\n", i + 1);
        System.out.printf("Title: %s\n", items[i].title);
        System.out.printf("URL: %s\n", items[i].url);
        System.out.printf("Previous price: %f\n", items[i].previousPrice);
        System.out.printf("Current price: %f\n\n", items[i].currentPrice);
    }
    System.out.printf("Number of items: %d", urls.length);
}