package edu.prlab.tyler.iotgateway.cloud;

import edu.prlab.tyler.iotgateway.cloud.controllers.DeviceController;
import edu.prlab.tyler.iotgateway.cloud.services.DeviceService;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

@RunWith(SpringRunner.class)
@SpringBootTest
public class CloudApplicationTests {

    @Autowired
    DeviceController deviceController;

    @Autowired
    DeviceService deviceService;

    @Test
    public void contextLoads() {
        Assert.assertNotNull(deviceController);
        Assert.assertNotNull(deviceService);
    }

}
