Client client = ClientsBusiness.addClientByClientName(user,
"new_client");
Assert.assertEquals("new_client", client.getName());
// create property (premise)
Property property = new Property();
property.setActualValue(10000.0);
property.setClient(client);
property.setName("new_property");
property.setOfficialValue(10000.0);
property.setType(PropertyType.TENEMENT);
property = PropertiesBusiness.createProperty(property);
// create property book
PropertyBook propertyBook = new PropertyBook();
propertyBook.setClient(client);