@Test
	public void canGetAllProducts() {
		ProductModel addedProduct1 = ProductModel.builder("Night Visions", 1)
				.description("Imagine Dragons").cost(149).rrp(400).build();
		ProductModel addedProduct2 = ProductModel.builder("Night Visions", 1)
				.description("Imagine Dragons").cost(149).rrp(400).build();
		List<ProductModel> products = null;
		boolean isProduct1 = false;
		boolean isProduct2 = false;

		try {
			addedProduct1 = new ProductModel(insertProduct(addedProduct1),
					addedProduct1);
			addedProduct2 = new ProductModel(insertProduct(addedProduct2),
					addedProduct2);

			products = pd.getAllProducts();

			deleteProduct(addedProduct1.getId());
			deleteProduct(addedProduct2.getId());

		} catch (WebshopAppException e) {
			e.printStackTrace();
		}
		for (ProductModel product : products) {
			if (addedProduct1.equals(product)) {
				isProduct1 = true;
			}
			if (addedProduct2.equals(product)) {
				isProduct2 = true;
			}
		}

		assertTrue(products.size() >= 2 && isProduct1 && isProduct2);

	}