Package org.springframework.data.hadoop.config.common.annotation.simple

Examples of org.springframework.data.hadoop.config.common.annotation.simple.SimpleTestConfig


  @Test
  public void testConfig() throws Exception {
    assertNotNull(ctx);
    assertTrue(ctx.containsBean("simpleConfig"));
    SimpleTestConfig simpleConfig = ctx.getBean("simpleConfig", SimpleTestConfig.class);
    assertThat(simpleConfig.simpleData, notNullValue());
    assertThat(simpleConfig.simpleData, is("simpleData"));

    assertThat(simpleConfig.simpleProperties, notNullValue());
    assertThat(simpleConfig.simpleProperties.getProperty("simpleKey1"), notNullValue());
View Full Code Here


  @Test
  public void testConfig() throws Exception {
    assertNotNull(ctx);
    assertTrue(ctx.containsBean("simpleConfig"));
    SimpleTestConfig simpleConfig = ctx.getBean("simpleConfig", SimpleTestConfig.class);
    assertThat(simpleConfig.simpleData, notNullValue());
    assertThat(simpleConfig.simpleData, is("simpleData"));

    assertThat(simpleConfig.simpleProperties, notNullValue());
    assertThat(simpleConfig.simpleProperties.getProperty("simpleKey1"), notNullValue());
View Full Code Here

  @Test
  public void testSimpleConfig() throws Exception {
    assertNotNull(ctx);
    assertTrue(ctx.containsBean("simpleConfig"));
    SimpleTestConfig config = ctx.getBean("simpleConfig", SimpleTestConfig.class);
    assertThat(config.simpleData, notNullValue());
    assertThat(config.simpleData, is("simpleData"));

    assertThat(config.simpleProperties, notNullValue());
    assertThat(config.simpleProperties.getProperty("simpleKey1"), notNullValue());
View Full Code Here

TOP

Related Classes of org.springframework.data.hadoop.config.common.annotation.simple.SimpleTestConfig

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.