package org.fluentlenium.integration;
import org.fluentlenium.core.annotation.Page;
import org.fluentlenium.integration.localtest.IntegrationFluentTest;
import org.junit.Test;
import static org.assertj.core.api.Assertions.assertThat;
/**
*
*/
public class PageInPageWithCreatePageTest extends IntegrationFluentTest {
@Page
private SubTestPageWithCreate subTestPage;
@Test
public void pagesShouldBeInjected() {
assertThat(subTestPage.getPageWithCreatePage()).isNotNull();
assertThat(subTestPage.getPageWithCreatePage()).isInstanceOf(IncludedPage.class);
}
}