1 package org.onap.portalapp.widget.exception;
3 import static org.junit.Assert.assertEquals;
6 import org.onap.portalapp.widget.excetpion.StorageFileNotFoundException;
8 public class StorageFileNotFoundExceptionTest {
16 if (!s1.equalsIgnoreCase(s2)) {
17 throw new StorageFileNotFoundException("org.onap.portalapp.widget.excetpion.StorageFileNotFoundException");
19 } catch (StorageFileNotFoundException mde) {
20 assertEquals(mde.getMessage(),"org.onap.portalapp.widget.excetpion.StorageFileNotFoundException");
27 String message = "Exception occured";
31 if (!s1.equalsIgnoreCase(s2)) {
32 throw new StorageFileNotFoundException(message, new Throwable());
34 } catch (StorageFileNotFoundException mde) {
35 assertEquals("org.onap.portalapp.widget.excetpion.StorageFileNotFoundException", mde.getClass().getName());