// Path: components/governance/org.wso2.carbon.governance.comparator/src/main/java/org/wso2/carbon/governance/comparator/wsdl/WSDLComparator.java
// public class WSDLComparator implements Comparator<Definition> {
// 
//     List<AbstractWSDLComparator> comparators = new ArrayList<>();
// 
//     public WSDLComparator() {
//         comparators.add(new WSDLDeclarationComparator());
//         comparators.add(new WSDLImportsComparator());
//         comparators.add(new WSDLBindingsComparator());
//         comparators.add(new WSDLMessagesComparator());
//         comparators.add(new WSDLPortTypeComparator());
//         comparators.add(new WSDLOperationComparator());
//         comparators.add(new WSDLServicesComparator());
//         comparators.add(new WSDLPortComparator());
//     }
// 
// 
//     @Override
//     public void init() {
//     }
// 
//     @Override
//     public void compare(Definition base, Definition changed, Comparison comparison) throws ComparisonException {
//         for (AbstractWSDLComparator comparator : comparators) {
//             comparator.compareInternal(base, changed, (DefaultComparison) comparison);
//         }
//     }
// 
//     @Override
//     public boolean isSupportedMediaType(String mediaType) {
//         return ComparatorConstants.WSDL_MEDIA_TYPE == mediaType ? true : false;
//     }
// }


import org.wso2.carbon.governance.comparator.wsdl.WSDLComparator;
import java.util.ArrayList;
import java.util.List;
/*
 * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
 *
 *   WSO2 Inc. licenses this file to you under the Apache License,
 *   Version 2.0 (the "License"); you may not use this file except
 *   in compliance with the License.
 *   You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing,
 *  software distributed under the License is distributed on an
 *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 *  KIND, either express or implied.  See the License for the
 *  specific language governing permissions and limitations
 *  under the License.
 */

package org.wso2.carbon.governance.comparator;



public class TestDiffGeneratorFactory implements DiffGeneratorFactory {


    @Override
    public DiffGenerator getDiffGenerator() {
        List<Comparator<?>> comparators = new ArrayList<>();
// Path: components/governance/org.wso2.carbon.governance.comparator/src/main/java/org/wso2/carbon/governance/comparator/wsdl/WSDLComparator.java
// public class WSDLComparator implements Comparator<Definition> {
// 
//     List<AbstractWSDLComparator> comparators = new ArrayList<>();
// 
//     public WSDLComparator() {
//         comparators.add(new WSDLDeclarationComparator());
//         comparators.add(new WSDLImportsComparator());
//         comparators.add(new WSDLBindingsComparator());
//         comparators.add(new WSDLMessagesComparator());
//         comparators.add(new WSDLPortTypeComparator());
//         comparators.add(new WSDLOperationComparator());
//         comparators.add(new WSDLServicesComparator());
//         comparators.add(new WSDLPortComparator());
//     }
// 
// 
//     @Override
//     public void init() {
//     }
// 
//     @Override
//     public void compare(Definition base, Definition changed, Comparison comparison) throws ComparisonException {
//         for (AbstractWSDLComparator comparator : comparators) {
//             comparator.compareInternal(base, changed, (DefaultComparison) comparison);
//         }
//     }
// 
//     @Override
//     public boolean isSupportedMediaType(String mediaType) {
//         return ComparatorConstants.WSDL_MEDIA_TYPE == mediaType ? true : false;
//     }
// }


// Path: components/governance/org.wso2.carbon.governance.comparator/src/test/java/org/wso2/carbon/governance/comparator/TestDiffGeneratorFactory.java
import org.wso2.carbon.governance.comparator.wsdl.WSDLComparator;
import java.util.ArrayList;
import java.util.List;

/*
 * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
 *
 *   WSO2 Inc. licenses this file to you under the Apache License,
 *   Version 2.0 (the "License"); you may not use this file except
 *   in compliance with the License.
 *   You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing,
 *  software distributed under the License is distributed on an
 *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 *  KIND, either express or implied.  See the License for the
 *  specific language governing permissions and limitations
 *  under the License.
 */

package org.wso2.carbon.governance.comparator;



public class TestDiffGeneratorFactory implements DiffGeneratorFactory {


    @Override
    public DiffGenerator getDiffGenerator() {
        List<Comparator<?>> comparators = new ArrayList<>();
        comparators.add(new WSDLComparator());