use of uk.nhs.digital.ps.test.acceptance.models.Publication in project hippo by NHS-digital-website.
the class CmsSteps method whenICreateANewPublication.
@When("^I create a fully populated publication$")
public void whenICreateANewPublication() throws Throwable {
final Publication publication = TestDataFactory.createFullyPopulatedPublication().build();
testDataRepo.setPublication(publication);
assertThat("New publication created.", contentPage.newPublication(publication), is(true));
}
Aggregations