6768697071727374757677
expectNew(ChildA.class).andReturn((ChildA) child).times(2); replayAll(); final OverloadingDemo demo = new OverloadingDemo(); demo.performMethodOverloadTestWhenBothArgumentSame(); verifyAll(); } @Test