@TestPropertySource não está carregando propriedades

Estou escrevendo teste de integração para meu aplicativo de inicialização da primavera, mas quando tento substituir algumas propriedades usando @TestPropertySource, ele está carregando o arquivo de propriedades definido no contexto xml, mas não está substituindo as propriedades definidas na anotação.

@RunWith(SpringJUnit4ClassRunner.class)
@SpringApplicationConfiguration(classes = {DefaultApp.class, MessageITCase.Config.class})
@WebAppConfiguration
@TestPropertySource(properties = {"spring.profiles.active=hornetq", "test.url=http://www.test.com/",
                    "test.api.key=343krqmekrfdaskfnajk"})
public class MessageITCase {
    @Value("${test.url}")
    private String testUrl;

    @Value("${test.api.key}")
    private String testApiKey;

    @Test
    public void testUrl() throws Exception {
        System.out.println("Loaded test url:" + testUrl);
    }



    @Configuration
    @ImportResource("classpath:/META-INF/spring/test-context.xml")
    public static class Config {

    }
}

questionAnswers(1)

yourAnswerToTheQuestion