Security/ Package Name changes
[portal.git] / ecomp-portal-BE-common / src / test / java / org / openecomp / portalapp / portal / domain / EPAppTest.java
diff --git a/ecomp-portal-BE-common/src/test/java/org/openecomp/portalapp/portal/domain/EPAppTest.java b/ecomp-portal-BE-common/src/test/java/org/openecomp/portalapp/portal/domain/EPAppTest.java
deleted file mode 100644 (file)
index 0838309..0000000
+++ /dev/null
@@ -1,98 +0,0 @@
-/*-
- * ============LICENSE_START==========================================
- * ONAP Portal
- * ===================================================================
- * Copyright © 2017 AT&T Intellectual Property. All rights reserved.
- * ===================================================================
- *
- * Unless otherwise specified, all software contained herein is licensed
- * under the Apache License, Version 2.0 (the “License”);
- * you may not use this software except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *             http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- * Unless otherwise specified, all documentation contained herein is licensed
- * under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
- * you may not use this documentation except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *             https://creativecommons.org/licenses/by/4.0/
- *
- * Unless required by applicable law or agreed to in writing, documentation
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- * ============LICENSE_END============================================
- *
- * ECOMP is a trademark and service mark of AT&T Intellectual Property.
- */
-package org.openecomp.portalapp.portal.domain;
-
-import static org.junit.Assert.assertEquals;
-
-import org.junit.Test;
-import org.openecomp.portalapp.portal.domain.EPApp;
-
-public class EPAppTest {
-
-       public EPApp mockEPApp(){
-               EPApp epApp = new EPApp();
-                               
-               epApp.setName("test");
-               epApp.setImageUrl("test");
-               epApp.setDescription("test");
-               epApp.setNotes("test");
-               epApp.setUrl("test");
-               epApp.setAlternateUrl("test");
-               epApp.setAppRestEndpoint("test");
-               epApp.setMlAppName("test");
-               epApp.setMlAppAdminId("test");
-               epApp.setMotsId((long)1);
-               epApp.setUsername("test");
-               epApp.setAppPassword("test");
-               epApp.setOpen(false);
-               epApp.setEnabled(false);
-               epApp.setUebTopicName("test");
-               epApp.setUebSecret("test");
-               epApp.setAppType(1);
-               epApp.setCentralAuth(false);
-               epApp.setNameSpace("test");
-               
-               return epApp;
-       }
-       
-       @Test
-       public void epAppTest(){
-               EPApp epApp = mockEPApp();
-               
-               assertEquals(epApp.getName(), "test");
-               assertEquals(epApp.getImageUrl(), "test");
-               assertEquals(epApp.getDescription(), "test");
-               assertEquals(epApp.getNotes(), "test");
-               assertEquals(epApp.getUrl(), "test");
-               assertEquals(epApp.getAlternateUrl(), "test");
-               assertEquals(epApp.getAppRestEndpoint(), "test");
-               assertEquals(epApp.getMlAppName(), "test");
-               assertEquals(epApp.getMlAppAdminId(), "test");
-               assertEquals(epApp.getMotsId(), new Long(1));
-               assertEquals(epApp.getUsername(), "test");
-               assertEquals(epApp.getAppPassword(), "test");
-               assertEquals(epApp.getOpen(), false);
-               assertEquals(epApp.getEnabled(), false);
-               assertEquals(epApp.getUebTopicName(), "test");
-               assertEquals(epApp.getUebSecret(), "test");
-               assertEquals(epApp.getAppType(), Integer.valueOf(1));
-               assertEquals(epApp.getCentralAuth(), false);
-               assertEquals(epApp.getNameSpace(), "test");
-
-       }
-}