@Test
	public void testreadLineByLine() {
		fread = new FileRead();
		prop = new Properties();
		InputStream inStream = getClass().getClassLoader().getResourceAsStream("com/file/resources/file.properties");
		Scanner scn;
		
		int count = 0;
		
		try {
			prop.load(inStream);
			String pathLocation = prop.getProperty("path");
			
			scn = new Scanner(new FileReader(pathLocation));
			List<String> l = new ArrayList<String>();
			
			List<String> m = Files.readAllLines(new File(pathLocation).toPath(),StandardCharsets.UTF_8);

			while(scn.hasNextLine()){
				l.add(scn.nextLine());
				count++;
			}
			
			for(int i=0;i<count;i++){
				assertEquals(m.get(i),l.get(i));
			}
			
			scn.close();
			
		} catch (Exception e) {
			e.printStackTrace();
		}
	}