use of org.estatio.module.party.dom.Party in project estatio by estatio.
the class EstatioApplicationTenancyRepositoryForLease_Test method testPathForPartyProperty.
@Test
public void testPathForPartyProperty() throws Exception {
// given
final Property p = propertyWith("ITA", "GRA");
final Party pa = partyWith("HELLO");
// then
assertThat(estatioApplicationTenancyRepositoryForLease.pathFor(p, pa)).isEqualTo("/ITA/GRA/HELLO");
}
Aggregations