@Test
public void testGatherVspInformationInvalidVsp() {
- MockitoAnnotations.initMocks(this);
+ MockitoAnnotations.openMocks(this);
VspModelInfo expectedVspData = new VspModelInfo();
doThrow(new RuntimeException())
.when(manualVspDataCollectionServiceMock)
@Test
public void testGatherVspInformationValidVsp() {
- MockitoAnnotations.initMocks(this);
+ MockitoAnnotations.openMocks(this);
Map<String, DeploymentFlavorModel> deploymentFlavorData = getDeploymentFlavorData();
Map<String, List<Nic>> componentNics = getComponentNics();
Map<String, String> componentData = getComponentData();