    @Test
    public void testSetupJBehaveEmbedderShouldConfigureInstanceStepsFactory() {

        //GIVEN in setup
        Configuration configuration = Mockito.mock(Configuration.class);
        given(configurationFactory.create(testCase)).willReturn(configuration);
        //WHEN
        underTest.setupJBehaveEmbedder(testCase);
        //THEN
        verify(instanceStepsFactoryCreator).createForTestCase(configuration, testCase);
    }