class SolaceJmsAutoConfigurationBase implements SpringSolJmsConnectionFactoryCloudFactory, SpringSolJmsJndiTemplateCloudFactory {

    @Bean
    @Override
    public SolConnectionFactory getSolConnectionFactory() {
        return getSolConnectionFactory(findFirstSolaceServiceCredentialsImpl());
    }

}

class SolaceJmsAutoConfigurationBaseTest  {

    private SolaceJmsProperties solaceJmsProperties;
    private SolaceJmsAutoConfigurationBase jmsAutoConfBase;
    private SolaceServiceCredentials solaceServiceCredentials;
    private ObjectMapper objectMapper;

    @Test
    public void testGetSolConnectionFactory() {

        validateSolConnectionFactory(jmsAutoConfBase.getSolConnectionFactory(), false);
        disableSolaceServiceCredentials();
        validateSolConnectionFactory(jmsAutoConfBase.getSolConnectionFactory(), true);
    }

}