contacts.add(new Contact("asdf"));
Contact asdf = new Contact("asdf"); asdf.setNumber("1-800-ASSDEAF"); contacts.add(asdf);  commit();  r = (Rolodex) singleton(Rolodex.class); contacts = r.getContacts();  assertEquals(1, contacts.size());  Contact c = (Contact) contacts.iterator().next(); assertEquals("asdf", c.getName()); assertEquals("1-800-ASSDEAF", c.getNumber());
    public void testCollection() {        Rolodex r = new Rolodex();        m_pm.makePersistent(r);        Collection contacts = r.getContacts();        contacts.add(new Contact("asdf"));    }