package org.carlspring.strongbox.crontask.test;

import org.carlspring.strongbox.crontask.configuration.CronTasksConfig;
import org.junit.FixMethodOrder;
import org.junit.runner.RunWith;
import org.junit.runners.MethodSorters;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.TestExecutionListeners;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.test.context.support.DependencyInjectionTestExecutionListener;

@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(classes = { CronTasksConfig.class })
@TestExecutionListeners(listeners = { DependencyInjectionTestExecutionListener.class })
@FixMethodOrder(MethodSorters.JVM)
public class CronTaskConfigurationRestletTest
{
}

@@ -114,16 +114,17 @@
 Config;%0A
+%0A
 import o
@@ -144,24 +144,47 @@
 ethodOrder;%0A
+import org.junit.Test;%0A
 import org.j
@@ -802,11 +802,60 @@
 etTest%0A%7B
+%0A%0A    @Test%0A    public void testFoo()%0A    %7B%0A    %7D
 %0A%7D%0A

Implement cron tasks