use of org.nhindirect.config.service.impl.SettingServiceImpl in project nhin-d by DirectProject.
the class SettingServiceTest method testAllSettings.
/**
* Test the addAnchors method.
*/
public void testAllSettings() {
final SettingDao settingDao = context.mock(SettingDao.class);
context.checking(new Expectations() {
{
oneOf(settingDao).getAll();
}
});
SettingServiceImpl service = new SettingServiceImpl();
service.setDao(settingDao);
try {
service.getAllSettings();
} catch (Exception e) {
fail("Exception thrown");
}
}
Aggregations