package org.openecomp.sdcrests.externaltesting.rest.services;
-import static org.mockito.MockitoAnnotations.initMocks;
+import static org.mockito.MockitoAnnotations.openMocks;
import java.util.ArrayList;
import java.util.Arrays;
@Before
public void setUp() {
try {
- initMocks(this);
+ openMocks(this);
} catch (Exception e) {
e.printStackTrace();
}
*/
@Test()
public void testConfigExceptions() {
- initMocks(this);
+ openMocks(this);
ExternalTestingManager m = new ApiTestExternalTestingManager();
ExternalTestingImpl testingF = new ExternalTestingImpl(m, vendorSoftwareProductManager);
*/
@Test()
public void testEndpointExceptions() {
- initMocks(this);
+ openMocks(this);
ExternalTestingManager m = new ApiTestExternalTestingManager();
ExternalTestingImpl testingF = new ExternalTestingImpl(m, vendorSoftwareProductManager);
*/
@Test()
public void testExecutionExceptions() {
- initMocks(this);
+ openMocks(this);
ExternalTestingManager m = new ApiTestExternalTestingManager();
ExternalTestingImpl testingF = new ExternalTestingImpl(m, vendorSoftwareProductManager);
*/
@Test()
public void testScenarioExceptions() {
- initMocks(this);
+ openMocks(this);
ExternalTestingManager m = new ApiTestExternalTestingManager();
ExternalTestingImpl testingF = new ExternalTestingImpl(m, vendorSoftwareProductManager);
*/
@Test()
public void testTestCaseExceptions() {
- initMocks(this);
+ openMocks(this);
ExternalTestingManager m = new ApiTestExternalTestingManager();
ExternalTestingImpl testingF = new ExternalTestingImpl(m, vendorSoftwareProductManager);
*/
@Test()
public void testTestCasesExceptions() {
- initMocks(this);
+ openMocks(this);
ExternalTestingManager m = new ApiTestExternalTestingManager();
ExternalTestingImpl testingF = new ExternalTestingImpl(m, vendorSoftwareProductManager);
*/
@Test()
public void testTestSuitesExceptions() {
- initMocks(this);
+ openMocks(this);
ExternalTestingManager m = new ApiTestExternalTestingManager();
ExternalTestingImpl testingF = new ExternalTestingImpl(m, vendorSoftwareProductManager);
*/
@Test()
public void testTreeExceptions() {
- initMocks(this);
+ openMocks(this);
ExternalTestingManager m = new ApiTestExternalTestingManager();
ExternalTestingImpl testingF = new ExternalTestingImpl(m, vendorSoftwareProductManager);