Fix for radio buttons
[sdc.git] / catalog-dao / src / test / java / org / openecomp / sdc / be / dao / rest / RestConfigurationInfoTest.java
1 package org.openecomp.sdc.be.dao.rest;
2
3 import org.junit.Test;
4
5
6 public class RestConfigurationInfoTest {
7
8         private RestConfigurationInfo createTestSubject() {
9                 return new RestConfigurationInfo();
10         }
11
12         
13         @Test
14         public void testGetReadTimeoutInSec() throws Exception {
15                 RestConfigurationInfo testSubject;
16                 Integer result;
17
18                 // default test
19                 testSubject = createTestSubject();
20                 result = testSubject.getReadTimeoutInSec();
21         }
22
23         
24         @Test
25         public void testSetReadTimeoutInSec() throws Exception {
26                 RestConfigurationInfo testSubject;
27                 Integer readTimeoutInSec = 0;
28
29                 // default test
30                 testSubject = createTestSubject();
31                 testSubject.setReadTimeoutInSec(readTimeoutInSec);
32         }
33
34         
35         @Test
36         public void testGetIgnoreCertificate() throws Exception {
37                 RestConfigurationInfo testSubject;
38                 Boolean result;
39
40                 // default test
41                 testSubject = createTestSubject();
42                 result = testSubject.getIgnoreCertificate();
43         }
44
45         
46         @Test
47         public void testSetIgnoreCertificate() throws Exception {
48                 RestConfigurationInfo testSubject;
49                 Boolean ignoreCertificate = null;
50
51                 // default test
52                 testSubject = createTestSubject();
53                 testSubject.setIgnoreCertificate(ignoreCertificate);
54         }
55
56         
57         @Test
58         public void testGetConnectionPoolSize() throws Exception {
59                 RestConfigurationInfo testSubject;
60                 Integer result;
61
62                 // default test
63                 testSubject = createTestSubject();
64                 result = testSubject.getConnectionPoolSize();
65         }
66
67         
68         @Test
69         public void testSetConnectionPoolSize() throws Exception {
70                 RestConfigurationInfo testSubject;
71                 Integer connectionPoolSize = 0;
72
73                 // default test
74                 testSubject = createTestSubject();
75                 testSubject.setConnectionPoolSize(connectionPoolSize);
76         }
77
78         
79         @Test
80         public void testGetConnectTimeoutInSec() throws Exception {
81                 RestConfigurationInfo testSubject;
82                 Integer result;
83
84                 // default test
85                 testSubject = createTestSubject();
86                 result = testSubject.getConnectTimeoutInSec();
87         }
88
89         
90         @Test
91         public void testSetConnectTimeoutInSec() throws Exception {
92                 RestConfigurationInfo testSubject;
93                 Integer connectTimeoutInSec = 0;
94
95                 // default test
96                 testSubject = createTestSubject();
97                 testSubject.setConnectTimeoutInSec(connectTimeoutInSec);
98         }
99
100         
101         @Test
102         public void testGetSocketTimeoutInSec() throws Exception {
103                 RestConfigurationInfo testSubject;
104                 Integer result;
105
106                 // default test
107                 testSubject = createTestSubject();
108                 result = testSubject.getSocketTimeoutInSec();
109         }
110
111         
112         @Test
113         public void testSetSocketTimeoutInSec() throws Exception {
114                 RestConfigurationInfo testSubject;
115                 Integer socketTimeoutInSec = 0;
116
117                 // default test
118                 testSubject = createTestSubject();
119                 testSubject.setSocketTimeoutInSec(socketTimeoutInSec);
120         }
121
122         
123         @Test
124         public void testToString() throws Exception {
125                 RestConfigurationInfo testSubject;
126                 String result;
127
128                 // default test
129                 testSubject = createTestSubject();
130                 result = testSubject.toString();
131         }
132 }