Refactoring Consolidation Service
[sdc.git] / catalog-be / src / test / java / org / openecomp / sdc / be / components / impl / ConsumerBusinessLogicTest.java
1 package org.openecomp.sdc.be.components.impl;
2
3 import org.junit.Test;
4 import org.openecomp.sdc.be.model.ConsumerDefinition;
5 import org.openecomp.sdc.be.model.User;
6 import org.openecomp.sdc.exception.ResponseFormat;
7
8 import fj.data.Either;
9
10
11 public class ConsumerBusinessLogicTest {
12
13         private ConsumerBusinessLogic createTestSubject() {
14                 return new ConsumerBusinessLogic();
15         }
16
17         
18         @Test
19         public void testCreateConsumer() throws Exception {
20                 ConsumerBusinessLogic testSubject;
21                 User user = null;
22                 ConsumerDefinition consumer = null;
23                 Either<ConsumerDefinition, ResponseFormat> result;
24
25                 // default test
26                 testSubject = createTestSubject();
27         }
28
29         
30
31
32         
33         @Test
34         public void testGetConsumer() throws Exception {
35                 ConsumerBusinessLogic testSubject;
36                 String consumerId = "";
37                 User user = null;
38                 Either<ConsumerDefinition, ResponseFormat> result;
39
40                 // test 1
41                 testSubject = createTestSubject();
42                 user = null;
43         }
44
45         
46         @Test
47         public void testGetConsumer_1() throws Exception {
48                 ConsumerBusinessLogic testSubject;
49                 String consumerId = "";
50                 Either<ConsumerDefinition, ResponseFormat> result;
51
52                 // default test
53                 testSubject = createTestSubject();
54         }
55
56         
57         @Test
58         public void testDeleteConsumer() throws Exception {
59                 ConsumerBusinessLogic testSubject;
60                 String consumerId = "";
61                 User user = null;
62                 Either<ConsumerDefinition, ResponseFormat> result;
63
64                 // default test
65                 testSubject = createTestSubject();
66         }
67
68         
69         @Test
70         public void testUpdateConsumer() throws Exception {
71                 ConsumerBusinessLogic testSubject;
72                 ConsumerDefinition consumer = null;
73                 User modifier = null;
74                 boolean isCreateRequest = false;
75                 Either<ConsumerDefinition, ResponseFormat> result;
76
77                 // default test
78                 testSubject = createTestSubject();
79         }
80
81         
82
83 }