}
@Test
public void testProductAttributeValidationSuccessCreate() {
Product original = createTestProduct();
original.addAttribute(new ProductAttribute("product.count", "1"));
original.addAttribute(new ProductAttribute("product.pos_count", "5"));
original.addAttribute(new ProductAttribute("product.long_multiplier",
(new Long(Integer.MAX_VALUE * 1000)).toString()));
original.addAttribute(new ProductAttribute("product.long_pos_count", "23"));
original.addAttribute(new ProductAttribute("product.bool_val_str", "true"));
original.addAttribute(new ProductAttribute("product.bool_val_num", "0"));
productCurator.create(original);
assertTrue(original.getId() != null);
}