@BeforeClass
	public static void init() {
		snzipExecutable = TestUtil.findSnzipExecutable();
		if(snzipExecutable == null) {
			throw new IllegalStateException("No executable snzip file found in bin directory");
		}
	
		testdataDirectory = TestUtil.directoriesToFile("resources", "testdata");
		
		if(!testdataDirectory.exists() || !testdataDirectory.isDirectory() || testdataDirectory.listFiles().length == 0) {
			throw new IllegalStateException("Test data directory \"" + testdataDirectory.getAbsolutePath() + " does not exist, is not a directory or is empty");
		}

		TestUtil.deleteRecursive(new File("tmp"));
	}