Catalog alignment
[sdc.git] / catalog-be / src / test / java / org / openecomp / sdc / be / components / utils / ComponentBusinessLogicMock.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * SDC
4  * ================================================================================
5  * Copyright (C) 2019 Nokia Intellectual Property. All rights reserved.
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 package org.openecomp.sdc.be.components.utils;
21
22 import org.mockito.Mockito;
23 import org.openecomp.sdc.be.components.impl.ArtifactsBusinessLogic;
24 import org.openecomp.sdc.be.components.impl.BaseBusinessLogicMock;
25 import org.openecomp.sdc.be.components.validation.component.ComponentContactIdValidator;
26 import org.openecomp.sdc.be.components.validation.component.ComponentDescriptionValidator;
27 import org.openecomp.sdc.be.components.validation.component.ComponentIconValidator;
28 import org.openecomp.sdc.be.components.validation.component.ComponentNameValidator;
29 import org.openecomp.sdc.be.components.validation.component.ComponentProjectCodeValidator;
30 import org.openecomp.sdc.be.components.validation.component.ComponentTagsValidator;
31 import org.openecomp.sdc.be.components.validation.component.ComponentValidator;
32
33 public abstract class ComponentBusinessLogicMock extends BaseBusinessLogicMock {
34
35     protected final ArtifactsBusinessLogic artifactsBusinessLogic = Mockito.mock(ArtifactsBusinessLogic.class);
36     protected final ComponentTagsValidator componentTagsValidator = Mockito.mock(ComponentTagsValidator.class);
37     protected final ComponentValidator componentValidator = Mockito.mock(ComponentValidator.class);
38     protected final ComponentIconValidator componentIconValidator = Mockito.mock(ComponentIconValidator.class);
39     protected final ComponentProjectCodeValidator componentProjectCodeValidator = Mockito.mock(ComponentProjectCodeValidator.class);
40     protected final ComponentDescriptionValidator componentDescriptionValidator = Mockito.mock(ComponentDescriptionValidator.class);
41     protected final ComponentContactIdValidator componentContactIdValidator = Mockito.mock(ComponentContactIdValidator.class);
42     protected final ComponentNameValidator componentNameValidator = Mockito.mock(ComponentNameValidator.class);
43
44 }