 
             let answerData = try Data(contentsOf: answerURL, options: .mappedIfSafe)
 
-            XCTAssertEqual(entry.data(), answerData)
-            XCTAssertEqual(entry.isDirectory, false)
-            XCTAssertNotNil(entry.accessTime)
+            XCTAssertEqual(entry.data, answerData)
+            XCTAssertEqual(entry.info.isDirectory, false)
+            XCTAssertNotNil(entry.info.accessTime)
         }
     }
 

        let entries = try TarContainer.open(container: testData)

        XCTAssertEqual(entries.count, 1)
        XCTAssertEqual(entries[0].name, "empty_file")
        XCTAssertEqual(entries[0].isDirectory, false)
        XCTAssertEqual(entries[0].size, 0)
        XCTAssertEqual(entries[0].data(), Data())
    }

    func testEmptyDirectory() throws {

        let result = try TarContainer.open(container: testData)

        XCTAssertEqual(result.count, 1)
        XCTAssertEqual(result[0].info.name, "test5.answer")
        XCTAssertEqual(result[0].info.size, 0)
        XCTAssertEqual(result[0].info.isDirectory, false)
        XCTAssertEqual(result[0].data, Data())
    }

    func testPax() throws {
