@Test
public void run_moduleStartThrows_moduleFinishedGetsCalled() throws Exception {

    // given
    doThrow(NullPointerException.class).when(module).onStart(context);
    try {
        // when
        sut.run();
    } catch (NullPointerException ex) {
        // got you
    }
    // then
    verify(module).onFinished(context);
}