use of io.kamax.mxisd.config.MxisdConfig in project mxisd by kamax-io.
the class MxisdDefaultTest method defaultConfig.
@Test
public void defaultConfig() {
MxisdConfig cfg = MxisdConfig.forDomain(domain).inMemory();
Mxisd m = new Mxisd(cfg);
m.start();
assertNotNull(m.getConfig());
assertEquals(domain, m.getConfig().getMatrix().getDomain());
assertTrue(m.getNotif().isMediumSupported(ThreePidMedium.Email.getId()));
assertTrue(m.getNotif().isMediumSupported(ThreePidMedium.PhoneNumber.getId()));
}
Aggregations