}
@Test
public void testGetTheSecret_stringConstructorAndMockedPrivateSecret() throws Exception {
final String originalSecret = "my own secret";
ConstructorArgsDemo tested = createPartialMock(ConstructorArgsDemo.class, new String[] { "theSecretIsPrivate" }, originalSecret);
assertEquals(originalSecret, Whitebox.getInternalState(tested, "secret", ConstructorArgsDemo.class));
final String myNewSecret = "my new secret";
expectPrivate(tested, "theSecretIsPrivate").andReturn(myNewSecret);
replay(tested);
final String actual = tested.getTheSecret();
verify(tested);
assertEquals(myNewSecret, actual);
}