	@Test
	public void testPacketsCreationFile() {

		Cloud cloud = new Cloud();
		cloud.createPacketsFile();
		File file = new File(cloud.getSharedDir(), "Packets.txt");
		try (BufferedReader inputStream = new BufferedReader(new FileReader(file))) {
			List<String> lines = inputStream.lines().collect(Collectors.toList());
			for (int i = 0; i < lines.size(); i++) {
				assertEquals(PacketManager.getInstance().getPackets().get(i).getSimpleName(), lines.get(i));
			}

		} catch (IOException e) {
			e.printStackTrace();
		}
	}