def METHOD_NAME(self):
    """Test the `add_ip_addresses` helper method on `VMInterface`"""
    vm_interface = VMInterface.objects.create(
        name="Int1", virtual_machine=self.virtualmachine, status=self.int_status
    )
    ips = list(IPAddress.objects.all()[:10])
    # baseline (no vm_interface to ip address relationships exists)
    self.assertFalse(IPAddressToInterface.objects.filter(vm_interface=vm_interface).exists())
    # add single instance
    count = vm_interface.add_ip_addresses(ips[-1])
    self.assertEqual(count, 1)
    self.assertEqual(IPAddressToInterface.objects.filter(ip_address=ips[-1], vm_interface=vm_interface).count(), 1)
    # add multiple instances
    count = vm_interface.add_ip_addresses(ips[:5])
    self.assertEqual(count, 5)
    self.assertEqual(IPAddressToInterface.objects.filter(vm_interface=vm_interface).count(), 6)
    for ip in ips[:5]:
        self.assertEqual(IPAddressToInterface.objects.filter(ip_address=ip, vm_interface=vm_interface).count(), 1)