@Test
public void testBeforeSpecificationCallsProcessAfterAllOnExecutorWithOriginalClassAndCorrespondingExecutor() throws Exception {

    // GIVEN
    // WHEN
    fixture.beforeSpecification();
    // THEN
    final ArgumentCaptor<TestInvocation> invocationCaptor = ArgumentCaptor.forClass(TestInvocation.class);
    verify(executor).processBeforeAll(invocationCaptor.capture());
    final TestInvocation invocation = invocationCaptor.getValue();
    assertThat(invocation.getTestClass(), equalTo(TestClass.class));
    assertThat(invocation.getContext(), equalTo(ctx));
    assertThat(invocation.getFeatureResolver(), notNullValue());
}