Package org.candlepin.model

Examples of org.candlepin.model.JobCurator


*/
public class JobCleanerTest {

    @Test
    public void execute() throws Exception {
        JobCurator curator = mock(JobCurator.class);
        JobCleaner cleaner = new JobCleaner(curator);
        cleaner.execute(null);
        verify(curator).cleanUpOldCompletedJobs(any(Date.class));
        verify(curator).cleanupAllOldJobs(any(Date.class));
    }
View Full Code Here

TOP

Related Classes of org.candlepin.model.JobCurator

Copyright © 2018 www.massapicom. 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.