@@ -0,0 +1,1070 @@
+package com.otognan.driverpete.security;%0A%0Aimport static org.junit.Assert.*;%0Aimport static org.hamcrest.Matchers.equalTo;%0A%0Aimport org.junit.Test;%0Aimport org.junit.runner.RunWith;%0Aimport org.springframework.beans.factory.annotation.Autowired;%0Aimport org.springframework.boot.test.SpringApplicationConfiguration;%0Aimport org.springframework.context.ApplicationContext;%0Aimport org.springframework.context.annotation.Configuration;%0Aimport org.springframework.context.annotation.PropertySource;%0Aimport org.springframework.test.context.junit4.SpringJUnit4ClassRunner;%0A%0A%0A@Configuration%0A@PropertySource(%22classpath:social.properties%22)%0Aclass TestConfiguration %7B%7D%0A%0A%0A@RunWith(SpringJUnit4ClassRunner.class)%0A@SpringApplicationConfiguration(classes=TestConfiguration.class)%0Apublic class SecurityPropertiesAccessTest %7B%0A    %0A    @Autowired%0A    private ApplicationContext appContext;%0A%0A    @Test%0A    public void testSocialPropertyAccess() throws Exception %7B%0A        String property = appContext.getEnvironment().getProperty(%22facebook.appKey%22);%0A        assertNotNull(property);%0A    %7D%0A    %0A%7D%0A

test for properties