@Test
public void getProductIds ()
{

   String cid = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa1";
   String uid = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa2";
   User user = udao.read (uid);
   List<Long> pids = dao.getProductIds (cid, user);
   Assert.assertNotNull (pids);
   Assert.assertEquals (pids.size (), 5);
   Assert.assertTrue (pids.contains (0L));
   Assert.assertTrue (pids.contains (2L));
   Assert.assertTrue (pids.contains (3L));
   Assert.assertTrue (pids.contains (5L));
}