@Before
public void setUp() {
Configuration config = new CandlepinCommonTestConfig();
extensionUtil = new X509ExtensionUtil(config);
v3extensionUtil = new X509V3ExtensionUtil(config, entCurator);
certServiceAdapter = new DefaultEntitlementCertServiceAdapter(
mockedPKI, extensionUtil, v3extensionUtil,
mock(EntitlementCertificateCurator.class), keyPairCurator,
serialCurator, productAdapter, entCurator,