package org.fluentlenium.assertj.custom; import org.assertj.core.api.AbstractAssert; import org.fluentlenium.core.FluentPage; /** * Page assertions. */ public class PageAssert extends AbstractAssert<PageAssert, FluentPage> { /** * Creates a new page assertions object. * * @param actual page to assert */ public PageAssert(FluentPage actual) { super(actual, PageAssert.class); } /** * check if it is at the current page. Call the page.isAt() methods * * @return page assertion object */ public PageAssert isAt() { actual.isAt(); return this; } }