def METHOD_NAME(existing_repo, int_params, state_mock):
    existing = [existing_repo]
    updated_repo = TerraformRepoV1.copy(existing_repo)
    updated_repo.delete = True
    integration = TerraformRepoIntegration(params=int_params)
    diff = integration.calculate_diff(
        existing_state=existing,
        desired_state=[updated_repo],
        dry_run=False,
        state=state_mock,
    )
    assert diff == [updated_repo]
    state_mock.rm.assert_called_once_with(updated_repo.name)