Set<Subscription> subs = new HashSet<Subscription>();
Subscription s = mock(Subscription.class);
subs.add(s);
when(pa.productHasSubscriptions(eq(p))).thenReturn(true);
pr.deleteProduct("10");
}
@Test
public void getProduct() {
Product p = createProduct();