@Test
public void testInvokeAPrivateVoidMethod_usingPowerMockExpectLastCall()
throws Exception {
final String methodToMock = "privateInvoke";
ExpectVoidDemo tested = createPartialMock(ExpectVoidDemo.class, methodToMock);
final int expected = 112;
Whitebox.invokeMethod(tested, methodToMock, expected);
expectLastCall().times(1);
replay(tested);
tested.invokeAPrivateVoidMethod(expected);
verify(tested);
}