@@ -0,0 +1,1363 @@
+package sg.ncl.common;%0A%0Aimport org.junit.Test;%0Aimport org.junit.runner.RunWith;%0Aimport org.springframework.boot.context.properties.EnableConfigurationProperties;%0Aimport org.springframework.boot.test.context.SpringBootTest;%0Aimport org.springframework.boot.test.context.SpringBootTest.WebEnvironment;%0Aimport org.springframework.context.annotation.Configuration;%0Aimport org.springframework.test.context.TestPropertySource;%0Aimport org.springframework.test.context.junit4.SpringRunner;%0Aimport sg.ncl.common.AvScannerPropertiesTest.TestConfig;%0A%0Aimport javax.inject.Inject;%0A%0Aimport static org.assertj.core.api.Assertions.assertThat;%0A%0A/**%0A * Created by teye%0A */%0A@RunWith(SpringRunner.class)%0A@SpringBootTest(classes = TestConfig.class, webEnvironment = WebEnvironment.NONE)%0A@TestPropertySource(properties = %7B%0A        %22ncl.av-scanner.host=123.123.123.123%22,%0A        %22ncl.av-scanner.port=1234%22%0A%7D)%0Apublic class AvScannerPropertiesTest %7B%0A%0A    @Configuration%0A    @EnableConfigurationProperties(AvScannerProperties.class)%0A    static class TestConfig %7B%0A    %7D%0A%0A    @Inject%0A    private AvScannerProperties properties;%0A%0A    @Test%0A    public void testGetHost() throws Exception %7B%0A        assertThat(properties.getHost()).isEqualTo(%22123.123.123.123%22);%0A    %7D%0A%0A    @Test%0A    public void testGetPort() throws Exception %7B%0A        assertThat(properties.getPort()).isEqualTo(1234);%0A    %7D%0A%0A%7D%0A

add av scanner tests