@Mock
private Service serviceMock;
@Test
public void assertInjectionWorked() throws Exception {
AnnotationDemo tested = new AnnotationDemo(serviceMock);
final String expected = "mock";
expect(serviceMock.getServiceMessage()).andReturn(expected);
replayAll();
Assert.assertEquals(expected, tested.getServiceMessage());
verifyAll();
}