src/main/java/org/fest/assertions/internal/Strings.java
public void assertEndsWith(@Nullable Description description, @Nullable String actual, @Nonnull String suffix) {
    checkNotNull(suffix);
    assertNotNull(description, actual);
    if (!actual.endsWith(suffix)) {
      throw failures.failure(description, shouldEndWith(actual, suffix));
    }
  }
public void assertEndsWith(@Nullable Description description, @Nullable String actual, @Nonnull String suffix) {
    checkNotNull(suffix);
    assertNotNull(description, actual);
    if (!actual.endsWith(suffix)) {
      throw failures.failure(description, shouldEndWith(actual, suffix));
    }
  }
public void assertEndsWith ( @ Nullable Description description , @ Nullable String actual , @ Nonnull String suffix ) { checkNotNull ( suffix ) ; assertNotNull ( description , actual ) ; if ( ! actual . endsWith ( suffix ) ) { throw failures . failure ( description , shouldEndWith ( actual , suffix ) ) ; } }
Verifies that the <em>actual</em> {@code String} ends with the given suffix.

@param description the description of the <em>actual</em> {@code String}.
@param actual the <em>actual</em> {@code String}.
@param suffix the given suffix.
@throws NullPointerException if the given sequence is {@code null}.
@throws AssertionError if the <em>actual</em> {@code String} is {@code null}.
@throws AssertionError if the <em>actual</em> {@code String} does not end with the given suffix.
Verifies that the <em > actual< / em > { @code String } ends with the given suffix .