Aharoni, Pavel (pa0916) | ca3cb01 | 2018-10-22 15:29:57 +0300 | [diff] [blame] | 1 | /*-
|
| 2 | * ============LICENSE_START=======================================================
|
| 3 | * OSAM
|
| 4 | * ================================================================================
|
| 5 | * Copyright (C) 2018 AT&T
|
| 6 | * ================================================================================
|
| 7 | * Licensed under the Apache License, Version 2.0 (the "License");
|
| 8 | * you may not use this file except in compliance with the License.
|
| 9 | * You may obtain a copy of the License at
|
| 10 | *
|
| 11 | * http://www.apache.org/licenses/LICENSE-2.0
|
| 12 | *
|
| 13 | * Unless required by applicable law or agreed to in writing, software
|
| 14 | * distributed under the License is distributed on an "AS IS" BASIS,
|
| 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 16 | * See the License for the specific language governing permissions and
|
| 17 | * limitations under the License.
|
| 18 | * ============LICENSE_END=========================================================
|
| 19 | */
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 | package org.onap.osam.model;
|
| 24 |
|
| 25 | import java.io.Serializable;
|
| 26 | import java.util.Date;
|
| 27 | import java.util.Set;
|
| 28 |
|
| 29 | import org.junit.Test;
|
| 30 |
|
| 31 | public class VidWorkflowTest {
|
| 32 |
|
| 33 | private VidWorkflow createTestSubject() {
|
| 34 | return new VidWorkflow();
|
| 35 | }
|
| 36 |
|
| 37 | @Test
|
| 38 | public void testGetId() throws Exception {
|
| 39 | VidWorkflow testSubject;
|
| 40 | Long result;
|
| 41 |
|
| 42 | // default test
|
| 43 | testSubject = createTestSubject();
|
| 44 | result = testSubject.getId();
|
| 45 | }
|
| 46 |
|
| 47 | @Test
|
| 48 | public void testGetCreated() throws Exception {
|
| 49 | VidWorkflow testSubject;
|
| 50 | Date result;
|
| 51 |
|
| 52 | // default test
|
| 53 | testSubject = createTestSubject();
|
| 54 | result = testSubject.getCreated();
|
| 55 | }
|
| 56 |
|
| 57 | @Test
|
| 58 | public void testGetModified() throws Exception {
|
| 59 | VidWorkflow testSubject;
|
| 60 | Date result;
|
| 61 |
|
| 62 | // default test
|
| 63 | testSubject = createTestSubject();
|
| 64 | result = testSubject.getModified();
|
| 65 | }
|
| 66 |
|
| 67 | @Test
|
| 68 | public void testGetCreatedId() throws Exception {
|
| 69 | VidWorkflow testSubject;
|
| 70 | Long result;
|
| 71 |
|
| 72 | // default test
|
| 73 | testSubject = createTestSubject();
|
| 74 | result = testSubject.getCreatedId();
|
| 75 | }
|
| 76 |
|
| 77 | @Test
|
| 78 | public void testGetModifiedId() throws Exception {
|
| 79 | VidWorkflow testSubject;
|
| 80 | Long result;
|
| 81 |
|
| 82 | // default test
|
| 83 | testSubject = createTestSubject();
|
| 84 | result = testSubject.getModifiedId();
|
| 85 | }
|
| 86 |
|
| 87 | @Test
|
| 88 | public void testGetAuditUserId() throws Exception {
|
| 89 | VidWorkflow testSubject;
|
| 90 | Serializable result;
|
| 91 |
|
| 92 | // default test
|
| 93 | testSubject = createTestSubject();
|
| 94 | result = testSubject.getAuditUserId();
|
| 95 | }
|
| 96 |
|
| 97 | @Test
|
| 98 | public void testGetRowNum() throws Exception {
|
| 99 | VidWorkflow testSubject;
|
| 100 | Long result;
|
| 101 |
|
| 102 | // default test
|
| 103 | testSubject = createTestSubject();
|
| 104 | result = testSubject.getRowNum();
|
| 105 | }
|
| 106 |
|
| 107 | @Test
|
| 108 | public void testGetAuditTrail() throws Exception {
|
| 109 | VidWorkflow testSubject;
|
| 110 | Set result;
|
| 111 |
|
| 112 | // default test
|
| 113 | testSubject = createTestSubject();
|
| 114 | result = testSubject.getAuditTrail();
|
| 115 | }
|
| 116 |
|
| 117 | @Test
|
| 118 | public void testGetWokflowName() throws Exception {
|
| 119 | VidWorkflow testSubject;
|
| 120 | String result;
|
| 121 |
|
| 122 | // default test
|
| 123 | testSubject = createTestSubject();
|
| 124 | result = testSubject.getWokflowName();
|
| 125 | }
|
| 126 |
|
| 127 | @Test
|
| 128 | public void testSetWokflowName() throws Exception {
|
| 129 | VidWorkflow testSubject;
|
| 130 | String wokflowName = "";
|
| 131 |
|
| 132 | // default test
|
| 133 | testSubject = createTestSubject();
|
| 134 | testSubject.setWokflowName(wokflowName);
|
| 135 | }
|
| 136 | }
|