def METHOD_NAME(self):
    class IMHandle(Base, ComparableEntity):
        __tablename__ = "imhandles"
        __autoload_with__ = testing.db
        user_id = Column("user_id", Integer, ForeignKey("users.id"))
    class User(Base, ComparableEntity):
        __tablename__ = "users"
        __autoload_with__ = testing.db
        handles = relationship("IMHandle", backref="user")
    u1 = User(
        name="u1",
        handles=[
            IMHandle(network="blabber", handle="foo"),
            IMHandle(network="lol", handle="zomg"),
        ],
    )
    sess = fixture_session()
    sess.add(u1)
    sess.flush()
    sess.expunge_all()
    eq_(
        sess.query(User).all(),
        [
            User(
                name="u1",
                handles=[
                    IMHandle(network="blabber", handle="foo"),
                    IMHandle(network="lol", handle="zomg"),
                ],
            )
        ],
    )
    a1 = sess.query(IMHandle).filter(IMHandle.handle == "zomg").one()
    eq_(a1, IMHandle(network="lol", handle="zomg"))
    eq_(a1.user, User(name="u1"))