public class StringStringBMapJidTest extends TestCase {
public void test() throws Exception {
MailboxFactory mailboxFactory = JAMailboxFactory.newMailboxFactory(1);
try {
JidFactories factory = new JidFactories();
factory.initialize(mailboxFactory.createMailbox());
BMapJid<String, StringJid> m = (BMapJid) (new StringBMapJidFactory(
JidFactories.STRING_STRING_MAP_JID_TYPE, StringJidFactory.fac)).
newActor(factory.getMailbox(), factory);
assertEquals(0, m.size());
assertTrue(m.kMake("1"));