Package test.component

Examples of test.component.MethodInject


    Assert.assertThat(fieldInject.add2(5, 4), is(9));
  }

  @Test
  public void testMethodInject() {
    MethodInject m = applicationContext.getBean("methodInject");
    Assert.assertThat(m.add(5, 4), is(9));
  }
View Full Code Here


    Assert.assertThat(fieldInject.add2(5, 4), is(9));
  }

  @Test
  public void testMethodInject() {
    MethodInject m = applicationContext.getBean("methodInject");
    Assert.assertThat(m.add(5, 4), is(9));
  }
View Full Code Here

TOP

Related Classes of test.component.MethodInject

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.