@Test
public void testBuilder() {

    when(kieContainerMock.newStatelessKieSession(anyString())).thenReturn(statelessKieSessionMock);
    when(statelessKieSessionMock.getKieBase()).thenReturn(kieBaseMock);
    when(kieBaseMock.getKiePackages()).thenReturn(Collections.emptyList());
    String sessionName = "sessionName";
    RuleStatelessScenarioExecutableBuilder builder = new RuleStatelessScenarioExecutableBuilder(kieContainerMock, sessionName);
    Map<String, Object> result = builder.run();
    verify(kieContainerMock, times(1)).newStatelessKieSession(eq(sessionName));
    assertTrue(result.containsKey(RuleScenarioExecutableBuilder.COVERAGE_LISTENER));
    assertTrue(result.containsKey(RuleScenarioExecutableBuilder.RULES_AVAILABLE));
}