### Question:
SkipConfigVnfListener implements FlowManipulator { @Override public void run(List<ExecuteBuildingBlock> flowsToExecute, ExecuteBuildingBlock currentBB, BuildingBlockExecution execution) { String vnfCustomizationUUID = currentBB.getBuildingBlock().getKey(); List<VnfResourceCustomization> vnfResourceCustomizations = catalogDbClient .getVnfResourceCustomizationByModelUuid(currentBB.getRequestDetails().getModelInfo().getModelUuid()); if (vnfResourceCustomizations != null && !vnfResourceCustomizations.isEmpty()) { VnfResourceCustomization vrc = catalogDbClient.findVnfResourceCustomizationInList(vnfCustomizationUUID, vnfResourceCustomizations); boolean skipConfigVNF = vrc.isSkipPostInstConf(); if (skipConfigVNF) { execution.setVariable(BBConstants.G_CURRENT_SEQUENCE, ((int) execution.getVariable(BBConstants.G_CURRENT_SEQUENCE)) + 1); } } } SkipConfigVnfListener(CatalogDbClient catalogDbClient); @Override boolean shouldRunFor(String currentBBName, boolean isFirst, BuildingBlockExecution execution); @Override void run(List<ExecuteBuildingBlock> flowsToExecute, ExecuteBuildingBlock currentBB,
            BuildingBlockExecution execution);  }### Answer:
@Test public void skipVnfSuccessful_sequenceIncremented() { execution.setVariable(G_CURRENT_SEQUENCE, 0); List<VnfResourceCustomization> vnfResourceCustomizations = createVnfResourceCustomizationList(); when(catalogDbClientMock.getVnfResourceCustomizationByModelUuid(MODEL_UUID)) .thenReturn(vnfResourceCustomizations); when(catalogDbClientMock.findVnfResourceCustomizationInList(VNF_CUSTOMIZATION_UUID, vnfResourceCustomizations)) .thenReturn(createVnfResourceCustomization()); testedObject.run(null, createExecuteBuildingBlock(), buildingBlockExecution); assertThat((int) execution.getVariable(G_CURRENT_SEQUENCE)).isEqualTo(1); }