@Test
public void getCollectionsOfProduct ()
{

   long pid = 1;
   List<Collection> collections = dao.getCollectionsOfProduct (pid);
   Assert.assertNotNull (collections);
   Assert.assertEquals (collections.size (), 3);
   Assert.assertTrue (collections.contains (dao.read ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa1")));
   Assert.assertTrue (collections.contains (dao.read ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa3")));
   Assert.assertTrue (collections.contains (dao.read ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa4")));
}