[BAEL-7819] - Added standard parent pom and fixed tests in those modules
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
package com.baeldung.SpringCloudTaskFinal;
|
||||
|
||||
import static org.mockito.Mockito.mock;
|
||||
|
||||
import org.springframework.cloud.deployer.spi.task.TaskLauncher;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
|
||||
@Configuration
|
||||
public class TaskSinkConfiguration {
|
||||
|
||||
@Bean
|
||||
public TaskLauncher taskLauncher() {
|
||||
return mock(TaskLauncher.class);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user