1 package org.openecomp.portalapp.portal.exceptions;
3 import static org.junit.Assert.assertEquals;
6 import org.openecomp.portalapp.portal.exceptions.NoHealthyServiceException;
8 public class NoHealthyServiceExceptionTest {
10 public NoHealthyServiceException mockNoHealthyServiceException(){
11 NoHealthyServiceException noHealthyServiceException = new NoHealthyServiceException("test");
13 return noHealthyServiceException;
17 public void noHealthyServiceExceptionTest(){
18 NoHealthyServiceException noHealthyServiceException = mockNoHealthyServiceException();
20 // assertEquals(noHealthyServiceException, new NoHealthyServiceException("test"));
21 assertEquals(noHealthyServiceException.toString(), "NoHealthyServiceException [] test");