// Path: src/main/java/ch/urbanfox/freqtrade/FreqTradeApplication.java
// @SpringBootApplication
// public class FreqTradeApplication {
// 
//     private static final Logger LOGGER = LoggerFactory.getLogger(FreqTradeApplication.class);
// 
//     public static void main(String[] args) throws InterruptedException, TelegramApiException {
//         LOGGER.info("Starting freqtrade...");
// 
//         ConfigurableApplicationContext context = SpringApplication.run(FreqTradeApplication.class, args);
// 
//         LOGGER.info("freqtrade started.");
// 
//         FreqTradeMainRunner runner = context.getBean(FreqTradeMainRunner.class);
//         runner.main();
//     }
// 
// }


import org.springframework.boot.SpringApplication;
import org.springframework.context.ApplicationContext;
import ch.urbanfox.freqtrade.FreqTradeApplication;
package ch.urbanfox.freqtrade.telegram;



/**
 * Simple application to test you telegram configuration
 */
public class TelegramServiceTester {

    public static void main(String[] args) throws Exception {
// Path: src/main/java/ch/urbanfox/freqtrade/FreqTradeApplication.java
// @SpringBootApplication
// public class FreqTradeApplication {
// 
//     private static final Logger LOGGER = LoggerFactory.getLogger(FreqTradeApplication.class);
// 
//     public static void main(String[] args) throws InterruptedException, TelegramApiException {
//         LOGGER.info("Starting freqtrade...");
// 
//         ConfigurableApplicationContext context = SpringApplication.run(FreqTradeApplication.class, args);
// 
//         LOGGER.info("freqtrade started.");
// 
//         FreqTradeMainRunner runner = context.getBean(FreqTradeMainRunner.class);
//         runner.main();
//     }
// 
// }


// Path: src/test/java/ch/urbanfox/freqtrade/telegram/TelegramServiceTester.java
import org.springframework.boot.SpringApplication;
import org.springframework.context.ApplicationContext;
import ch.urbanfox.freqtrade.FreqTradeApplication;

package ch.urbanfox.freqtrade.telegram;



/**
 * Simple application to test you telegram configuration
 */
public class TelegramServiceTester {

    public static void main(String[] args) throws Exception {
        ApplicationContext context = SpringApplication.run(FreqTradeApplication.class, args);