Package Test.Efference

Source Code of Test.Efference.NumberEfferences

package Test.Efference;

import Class.Efference.EfferenceCoupling;
import Package.Files.ReaderFile;
import java.io.FileNotFoundException;
import java.io.IOException;
import static org.junit.Assert.*;
import org.junit.Test;

public class NumberEfferences {
   
    public NumberEfferences(){}
   
    @Test
    public void NumberEfferences() throws FileNotFoundException, IOException{
        ReaderFile reader = new ReaderFile("src/Class/Efference/EfferenceCoupling.java");
        EfferenceCoupling numEfferences = new EfferenceCoupling(reader);
        assertEquals(numEfferences.getCount(), 4);
    }
   
    @Test
    public void NumberEfferences2() throws FileNotFoundException, IOException{
        ReaderFile reader = new ReaderFile("src/Package/Utils/FilesUtils.java");
        EfferenceCoupling numEfferences = new EfferenceCoupling(reader);
        assertEquals(numEfferences.getCount(), 2);
    }
}
TOP

Related Classes of Test.Efference.NumberEfferences

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.