Fix forward merge of new SpyBean test to use correct Mockito 2 API

pull/8063/merge
Andy Wilkinson 8 years ago
parent 1e806bbbd2
commit fcd1eb79fc

@ -42,8 +42,8 @@ public class SpyBeanWithNameOnTestFieldForMultipleExistingBeansTests {
@Test
public void testSpying() throws Exception {
assertThat(new MockUtil().isSpy(this.spy)).isTrue();
assertThat(new MockUtil().getMockName(this.spy).toString()).isEqualTo("two");
assertThat(MockUtil.isSpy(this.spy)).isTrue();
assertThat(MockUtil.getMockName(this.spy).toString()).isEqualTo("two");
}
@Configuration

Loading…
Cancel
Save