public class BaseSMAdapterTest {
@Test
public void testConstructor() throws Throwable {
Configuration cfg = new SubConfiguration(new SimpleConfiguration(new Properties(null)), "testBaseSMAdapterPrefix");
Logger logger = new Logger();
BaseSMAdapter baseSMAdapter = new BaseSMAdapter(cfg, logger, "testBaseSMAdapterRealm");
assertSame("baseSMAdapter.cfg", cfg, baseSMAdapter.cfg);
assertEquals("baseSMAdapter.realm", "testBaseSMAdapterRealm", baseSMAdapter.realm);
assertSame("baseSMAdapter.logger", logger, baseSMAdapter.logger);
}