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