package com.xhpc.evcs;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.web.server.LocalServerPort;
import org.springframework.context.annotation.Import;

import javax.sql.DataSource;

@Import(MyTestConfiguration.class)
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
public class SpringBootDemoApplicationTests {

    @LocalServerPort
    int randomServerPort;

    @Autowired
    DataSource datasource;

    //tests
}
