/*
 * Copyright 2014 Google Inc. All rights reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.google.errorprone.refaster.testdata.template;

import com.google.common.truth.IterableSubject;
import com.google.errorprone.refaster.annotation.AfterTemplate;
import com.google.errorprone.refaster.annotation.BeforeTemplate;

import java.util.Collection;

/**
 * Tests for {@code UFreeIdent} accepting two references to the same wildcard.
 * 
 * @author kak@google.com (Kurt Kluever)
 */
public class WildcardUnificationTemplate {
  @BeforeTemplate
  static void containsAllOf(IterableSubject<?, ?, ?> subject, Collection<?> expected) {
    subject.hasSize(expected.size());
    subject.containsAllIn(expected);
  }

  @AfterTemplate
  static void containsExactly(IterableSubject<?, ?, ?> subject, Collection<?> expected) {
    subject.containsExactlyElementsIn(expected);
  }
}

@@ -960,17 +960,16 @@
 card.%0A *
- 
 %0A * @aut
@@ -976,36 +976,27 @@
 hor 
-kak@google.com (Kurt
+Kurt Alfred
  Kluever
 )%0A *
@@ -991,17 +991,16 @@
  Kluever
-)
 %0A */%0Apub
@@ -1096,33 +1096,24 @@
 rableSubject
-%3C?, ?, ?%3E
  subject, Co
@@ -1282,17 +1282,8 @@
 ject
-%3C?, ?, ?%3E
  sub

Remove type parameters from IterableSubject, MultisetSubject, and MultimapSubject.