Package test.component2

Examples of test.component2.MethodInject2


    Assert.assertThat(m.add(5, 4), is(9));
  }

  @Test
  public void testMethodInject2() {
    MethodInject2 m = applicationContext.getBean("methodInject2");
    Assert.assertThat(m.add(5, 5), is(10));
    Assert.assertThat(m.getNum(), is(3));
  }
View Full Code Here


    Assert.assertThat(m.add(5, 4), is(9));
  }

  @Test
  public void testMethodInject2() {
    MethodInject2 m = applicationContext.getBean("methodInject2");
    Assert.assertThat(m.add(5, 5), is(10));
    Assert.assertThat(m.getNum(), is(3));
  }
View Full Code Here

TOP

Related Classes of test.component2.MethodInject2

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.