use of org.apache.isis.applib.fixturescripts.FixtureScript in project estatio by estatio.
the class PartyRelationshipViewService_IntegTest method setupData.
@Before
public void setupData() {
runFixtureScript(new FixtureScript() {
@Override
protected void execute(ExecutionContext executionContext) {
executionContext.executeChild(this, OrganisationAndComms_enum.TopModelGb.builder());
executionContext.executeChild(this, Person_enum.GinoVannelliGb.builder());
}
});
org = OrganisationAndComms_enum.TopModelGb.findUsing(serviceRegistry);
person = partyRepository.findPartyByReference(Person_enum.GinoVannelliGb.getRef());
}
use of org.apache.isis.applib.fixturescripts.FixtureScript in project estatio by estatio.
the class FixedAssetFinancialAccountRepository_IntegTest method setupData.
@Before
public void setupData() {
runFixtureScript(new FixtureScript() {
@Override
protected void execute(ExecutionContext executionContext) {
executionContext.executeChild(this, PropertyAndUnitsAndOwnerAndManager_enum.OxfGb.builder());
executionContext.executeChild(this, BankAccount_enum.Oxford.builder());
executionContext.executeChild(this, BankAccountFaFa_enum.Oxford.builder());
}
});
owner = PropertyAndUnitsAndOwnerAndManager_enum.OxfGb.getOwner_d().findUsing(serviceRegistry);
}
use of org.apache.isis.applib.fixturescripts.FixtureScript in project estatio by estatio.
the class OccupancyRepository_IntegTest method setupData.
@Before
public void setupData() {
runFixtureScript(new FixtureScript() {
@Override
protected void execute(ExecutionContext executionContext) {
executionContext.executeChild(this, LeaseItemForRent_enum.OxfTopModel001Gb.builder());
executionContext.executeChild(this, LeaseItemForServiceCharge_enum.OxfTopModel001Gb.builder());
executionContext.executeChild(this, LeaseItemForServiceCharge_enum.OxfTopModel001Gb_TA.builder());
executionContext.executeChild(this, LeaseItemForServiceChargeBudgeted_enum.OxfTopModel001Gb.builder());
executionContext.executeChild(this, LeaseItemForTurnoverRent_enum.OxfTopModel001Gb.builder());
executionContext.executeChild(this, LeaseItemForDiscount_enum.OxfTopModel001Gb.builder());
executionContext.executeChild(this, LeaseItemForEntryFee_enum.OxfTopModel001Gb.builder());
executionContext.executeChild(this, LeaseItemForTax_enum.OxfTopModel001Gb.builder());
executionContext.executeChild(this, LeaseItemForDeposit_enum.OxfTopModel001Gb.builder());
executionContext.executeChild(this, LeaseItemForMarketing_enum.OxfTopModel001Gb.builder());
}
});
lease = Lease_enum.OxfTopModel001Gb.findUsing(serviceRegistry);
unit = unitRepository.findUnitByReference(Property_enum.OxfGb.unitRef("001"));
}
use of org.apache.isis.applib.fixturescripts.FixtureScript in project estatio by estatio.
the class CommunicationChannelContributions_IntegTest method setUp.
@Before
public void setUp() throws Exception {
runFixtureScript(new FixtureScript() {
@Override
protected void execute(ExecutionContext executionContext) {
executionContext.executeChild(this, OrganisationAndComms_enum.HelloWorldGb.builder());
}
});
party = OrganisationAndComms_enum.HelloWorldGb.findUsing(serviceRegistry);
}
use of org.apache.isis.applib.fixturescripts.FixtureScript in project estatio by estatio.
the class BankMandateRepository_IntegTest method setupData.
@Before
public void setupData() {
runFixtureScript(new FixtureScript() {
@Override
protected void execute(ExecutionContext executionContext) {
executionContext.executeChild(this, Lease_enum.OxfTopModel001Gb.builder());
executionContext.executeChild(this, BankAccount_enum.TopModelGb.builder());
}
});
lease = Lease_enum.OxfTopModel001Gb.findUsing(serviceRegistry);
}
Aggregations