org.fest.assertions.fluentlenium.custom.AttributeAssert Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fluentlenium-festassert Show documentation
Show all versions of fluentlenium-festassert Show documentation
Fest Assert Extension for FluentLenium
The newest version!
package org.fest.assertions.fluentlenium.custom;
import org.fest.assertions.GenericAssert;
/**
* @deprecated fest-assert has not been maintained since 2013. This module will be removed from FluentLenium in a next future. Use fluentlenium-assertj instead.
*/
@Deprecated
public class AttributeAssert extends GenericAssert {
public AttributeAssert(String actual) {
super(AttributeAssert.class, actual);
}
public AttributeAssert withValue(String expectedValue) {
if (!actual.equals(expectedValue)) {
super.fail("The attribute does not have the value: " + expectedValue + ". Actual value is : " + actual);
}
return this;
}
}