def METHOD_NAME(self):
    self._create_contract(self.user_sales_all_documents)
    self._create_contract(self.user_sales_all_documents)
    self._create_contract(self.user_sales_own_documents)
    self._create_contract(self.user_sales_own_documents)
    contracts = (
        self.env["contract.contract"]
        .with_user(self.user_sales_all_documents)
        .search([])
    )
    self.assertEqual(len(contracts), 4)