/**\r
* The Class ProfileServiceTest.\r
*/\r
+\r
public class ProfileServiceTest extends MockApplicationContextTestSuite {\r
\r
/** The service. */\r
*/\r
@Test\r
public void testFindAll() {\r
- \r
- try { \r
- List<Profile> profiles = service.findAll();\r
- Assert.assertTrue(profiles.size() > 0);\r
- }\r
- catch (Exception e) {\r
- //TODO: this is only to make maven to not complaint \r
- return;\r
+ \r
+ List<Profile> profiles;\r
+ try {\r
+ profiles = service.findAll();\r
+ Assert.assertTrue(profiles.size() > 0);\r
+ } catch (Exception e) {\r
+ Assert.assertTrue(false);\r
}\r
}\r
\r