Search in sources :

Example 1 with PartyRoleTypeService

use of org.estatio.module.party.dom.role.PartyRoleTypeService in project estatio by estatio.

the class PartyRoleTypeService_Test method setUp.

@Before
public void setUp() throws Exception {
    person1 = new Person();
    person2 = new Person();
    partyRoleTypeService = new PartyRoleTypeService() {

        @Override
        public List<Person> membersOf(final IPartyRoleType partyRoleType, final Object domainObject) {
            return members;
        }
    };
}
Also used : IPartyRoleType(org.estatio.module.party.dom.role.IPartyRoleType) PartyRoleTypeService(org.estatio.module.party.dom.role.PartyRoleTypeService) List(java.util.List) Person(org.estatio.module.party.dom.Person) Before(org.junit.Before)

Aggregations

List (java.util.List)1 Person (org.estatio.module.party.dom.Person)1 IPartyRoleType (org.estatio.module.party.dom.role.IPartyRoleType)1 PartyRoleTypeService (org.estatio.module.party.dom.role.PartyRoleTypeService)1 Before (org.junit.Before)1