def METHOD_NAME(self):
    atom1 = Atom(
        name="atom1", position=[0, 0, 0], atom_type=AtomType(name="A")
    )
    atom2 = Atom(
        name="atom2", position=[1, 0, 0], atom_type=AtomType(name="B")
    )
    bondtype = BondType(
        member_types=[atom1.atom_type.name, atom2.atom_type.name]
    )
    bond = Bond(connection_members=[atom1, atom2], bond_type=bondtype)
    assert "A" in bond.connection_type.member_types
    assert "B" in bond.connection_type.member_types