Package Test.Import

Source Code of Test.Import.NumberImports

package Test.Import;

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

public class NumberImports {
   
    public NumberImports() {
    }
   
    @Test
    public void totalNumberClass() throws FileNotFoundException, IOException{
        ReaderFile reader = new ReaderFile("src/Class/Classes.java");
        NumberOfImports numOfImports = new NumberOfImports(reader);
        assertEquals(numOfImports.getCount(), 8);
    }
   
}
TOP

Related Classes of Test.Import.NumberImports

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.