async def METHOD_NAME(self):
    network = NetworkFactory(ip="192.168.0.0/24")
    await network.remove()
    with pytest.raises(TransitionNotAllowed, match=".*Can't stop when in removed.*"):
        await network.remove()