use of org.nhindirect.config.service.impl.AddressServiceImpl in project nhin-d by DirectProject.
the class AddressServiceTest method testListAddresss.
/**
* Test the listAddresss method.
*/
public void testListAddresss() {
final AddressDao addressDao = context.mock(AddressDao.class);
final String lastAddressName = "lastAddressName.com";
final int maxResults = 7;
context.checking(new Expectations() {
{
// TODO
}
});
AddressServiceImpl service = new AddressServiceImpl();
service.setDao(addressDao);
try {
service.listAddresss(lastAddressName, maxResults);
} catch (Exception e) {
fail("Exception thrown");
}
}
Aggregations