public class SimplePrivateFieldServiceClassTest {
@Test
public void testSimplePrivateFieldServiceClass() throws Exception {
SimplePrivateFieldServiceClass tested = new SimplePrivateFieldServiceClass();
Service serviceMock = createMock(Service.class);
setInternalState(tested, "service", serviceMock, SimplePrivateFieldServiceClass.class);
final String expected = "Hello world!";
expect(serviceMock.getServiceMessage()).andReturn(expected);
replay(serviceMock);
final String actual = tested.useService();
verify(serviceMock);