### Question:
GovernedAssetHandler { public GovernedAsset getGovernedAsset(String userId, String assedID) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException { String methodName = "getGovernedAsset"; invalidParameterHandler.validateUserId(userId, methodName); EntityDetail entityDetailsByGUID = getEntityDetailsByGUID(userId, assedID, null); if (containsGovernedClassification(entityDetailsByGUID)) { return convertGovernedAsset(userId, entityDetailsByGUID); } return null; } 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 getGovernedAsset() throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException { String methodName = "getGovernedAsset"; mockGetEntityByGUID(SCHEMA_ELEMENT_GUID, null, mockEntityDetails(SCHEMA_ELEMENT_GUID, SCHEMA_ELEMENT)); GovernedAsset governedAsset = governedAssetHandler.getGovernedAsset(USER_ID, SCHEMA_ELEMENT_GUID); assertEquals(SCHEMA_ELEMENT_GUID, governedAsset.getGuid()); verify(invalidParameterHandler, times(1)).validateUserId(USER_ID, methodName); }