2930313233343536
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)); }
3031323334353637