### Question:
ProductPartitionNodeAdapter { static AdGroupCriterion createCriterionForRemove(ProductPartitionNode node, long adGroupId) { Preconditions.checkNotNull(node, "Null node"); AdGroupCriterion adGroupCriterion = new AdGroupCriterion(); adGroupCriterion.setAdGroupId(adGroupId); adGroupCriterion.setCriterion(new ProductPartition()); adGroupCriterion.getCriterion().setId(node.getProductPartitionId()); return adGroupCriterion; } private  ProductPartitionNodeAdapter();   }### Answer:
@Test public void testCreateCriterionForRemove() { testCommonAttributes(childNode, ProductPartitionNodeAdapter.createCriterionForRemove(childNode, adGroupId), true); testCommonAttributes(parentNode, ProductPartitionNodeAdapter.createCriterionForRemove(parentNode, adGroupId), true); }