*/
@Test(expected = NotFoundException.class)
public void testRegenerateEntitlementCertificatesWithInvalidConsumerId() {
ConsumerCurator consumerCurator = mock(ConsumerCurator.class);
when(consumerCurator.verifyAndLookupConsumer(any(String.class)))
.thenThrow(new NotFoundException(""));
ConsumerResource consumerResource = new ConsumerResource(consumerCurator, null,
null, null, null, null, null, i18n, null, null, null,
null, null, null, null, null, null, null, null, null, null, null,
null, new CandlepinCommonTestConfig(), null, null, null, consumerBindUtil);