Catalog alignment
[sdc.git] / asdctool / src / test / java / org / openecomp / sdc / asdctool / utils / ReportWriterTest.java
1 /*
2
3  * Copyright (c) 2018 Huawei Intellectual Property.
4
5  *
6
7  * Licensed under the Apache License, Version 2.0 (the "License");
8
9  * you may not use this file except in compliance with the License.
10
11  * You may obtain a copy of the License at
12
13  *
14
15  *     http://www.apache.org/licenses/LICENSE-2.0
16
17  *
18
19  * Unless required by applicable law or agreed to in writing, software
20
21  * distributed under the License is distributed on an "AS IS" BASIS,
22
23  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
24
25  * See the License for the specific language governing permissions and
26
27  * limitations under the License.
28
29  */
30
31 package org.openecomp.sdc.asdctool.utils;
32
33 import org.junit.Test;
34 import org.junit.runner.RunWith;
35 import org.mockito.Mock;
36 import org.mockito.junit.MockitoJUnitRunner;
37
38 import java.io.IOException;
39
40 @RunWith(MockitoJUnitRunner.class)
41 public class ReportWriterTest {
42     @Mock
43     Object object;
44
45     @Test
46     public void testReportWriter() throws IOException {
47         ReportWriter test = new ReportWriter("test");
48         test.report(object);
49         test.close();
50     }
51 }