def METHOD_NAME(self):
    domain = 'test-by-user-{}'.format(self.test_id)
    user1 = 'user1-{}'.format(self.test_id)
    user2 = 'user2-{}'.format(self.test_id)
    self._ship_forms_to_es(
        2 * [TestFormMetadata(domain=domain, user_id=user1)] +
        1 * [TestFormMetadata(domain=domain, user_id=user2)]
    )
    self.assertEqual(2, FormES().user_id([user1]).run().total)
    self.assertEqual(1, FormES().user_id([user2]).run().total)
    self.assertEqual(3, FormES().user_id([user1, user2]).run().total)
    # also test with domain filter
    self.assertEqual(3, FormES().domain(domain).run().total)
    self.assertEqual(2, FormES().domain(domain).user_id([user1]).run().total)
    self.assertEqual(1, FormES().domain(domain).user_id([user2]).run().total)
    self.assertEqual(3, FormES().domain(domain).user_id([user1, user2]).run().total)