Examples of unrevoke()


Examples of org.candlepin.resource.CrlResource.unrevoke()

        when(fileutil.readCRLFile(any(File.class))).thenReturn(crl);
        when(crlgen.removeEntries(eq(crl), any(List.class))).thenReturn(crl);

        CrlResource res = new CrlResource(crlgen, fileutil, config, sercur);
        String[] ids = {"10"};
        res.unrevoke(ids);
        verify(crlgen, atLeastOnce()).removeEntries(eq(crl), any(List.class));
        verify(fileutil, atLeastOnce()).writeCRLFile(any(File.class), eq(crl));
    }

    private static class ConfigForTesting extends MapConfiguration {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.