public static <E> ErrorMessageFactory elementsShouldHaveExactly(Object actual, int times, Matcher<?> condition) {
    return new ElementsShouldHaveExactly(actual, times, condition);
  }
public static < E > ErrorMessageFactory elementsShouldHaveExactly ( Object actual , int times , Matcher < ? > condition ) { return new ElementsShouldHaveExactly ( actual , times , condition ) ; }
Creates a new </code>{@link ElementsShouldHaveExactly}</code>.
@param actual the actual value in the failed assertion.
@param times exactly times the condition should be verify.
@param condition the {@code Condition}.
@return the created {@code ErrorMessageFactory}.