def METHOD_NAME(self):
    proto = ethernet.EthernetProtocol()
    p1 = MyProtocol(
        [
            (
                b"foobar",
                {
                    "partial": 0,
                    "dest": b"123456",
                    "source": b"987654",
                    "protocol": 0x0800,
                },
            ),
            (
                b"quux",
                {
                    "partial": 1,
                    "dest": b"012345",
                    "source": b"abcdef",
                    "protocol": 0x0800,
                },
            ),
        ]
    )
    proto.addProto(0x0800, p1)
    proto.datagramReceived(b"123456987654\x08\x00foobar", partial=0)
    proto.datagramReceived(b"012345abcdef\x08\x00quux", partial=1)
    assert not p1.expecting, (
        "Should not expect any more packets, but still want %r" % p1.expecting
    )