@Test(expected = IllegalStateException.class)
public void testStartUpRethrowsConstructorException() throws GrabberService
    .GrabberServiceException {

  try {
    final GrabberService grabberService =
        createSimpleGrabberService(ConstructorThrowingFrameGrabber::new);
    grabberService.startUp();
    fail("This should have thrown an exception");
  } catch (IllegalStateException e) {
    assertThat(e).hasMessageThat()
                 .contains(ConstructorThrowingFrameGrabber.CONSTRUCTOR_EXCEPTION_MESSAGE);
    throw e;
  }
  fail("This should have rethrown an exception");
}