### Question:
GovernedAssetHandler { public String createSoftwareServerCapability(String userId, SoftwareServerCapability softwareServerCapability) throws UserNotAuthorizedException, PropertyServerException, org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException { String methodName = "createSoftwareServerCapability"; invalidParameterHandler.validateUserId(userId, methodName); InstanceProperties initialProperties = getSoftwareServerCapabilityProperties(softwareServerCapability); return repositoryHandler.createEntity(userId, SOFTWARE_SERVER_CAPABILITY_GUID, SOFTWARE_SERVER_CAPABILITY, initialProperties, Collections.emptyList(), InstanceStatus.ACTIVE, methodName); } GovernedAssetHandler(String serviceName, String serverName, InvalidParameterHandler invalidParameterHandler,
                                RepositoryHandler repositoryHandler, OMRSRepositoryHelper repositoryHelper, RepositoryErrorHandler errorHandler,
                                List<String> supportedZones); void setSecurityVerifier(OpenMetadataServerSecurityVerifier securityVerifier); List<GovernedAsset> getGovernedAssets(String userId, List<String> entityTypes, Integer offset, Integer pageSize); GovernedAsset getGovernedAsset(String userId, String assedID); boolean containsGovernedClassification(EntityDetail entityDetail); boolean isSchemaElement(InstanceType entityType); String createSoftwareServerCapability(String userId, SoftwareServerCapability softwareServerCapability); SoftwareServerCapability getSoftwareServerCapabilityByGUID(String userId, String guid); GovernedAsset convertGovernedAsset(String userID, EntityDetail entity);  }### Answer:
@Test public void createSoftwareServerCapability() throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException { String methodName = "createSoftwareServerCapability"; mockCreateSoftwareServerCapability(); String softwareServerCapabilityGUID = governedAssetHandler.createSoftwareServerCapability(USER_ID, mockSoftwareServerCapability()); assertEquals(SOFTWARE_SERVER_CAPABILITY_GUID, softwareServerCapabilityGUID); verify(invalidParameterHandler, times(1)).validateUserId(USER_ID, methodName); }