@Test
public void testQueryAll(){

	Map<String, Object> parameters = new HashMap<String, Object>();
	parameters.put("productType", Constant.SHOP_PRODUCT_TYPE.COUPON.name());
	parameters.put("_startRow", "1");
	parameters.put("_endRow", "2");
	List<ShopProduct> list1 = shopProductDAO.query(parameters);
	Assert.assertEquals(2, list1.size());
	Assert.assertEquals(Constant.SHOP_PRODUCT_TYPE.COUPON.name(), list1.get(0).getProductType());
	
	parameters.put("productName", "P");
	List<ShopProduct> list_2 = shopProductDAO.query(parameters);
	Assert.assertEquals(0, list_2.size());
}