         XCTAssert(file.name == name, "file name is equal to name")
         XCTAssert(file.type == mimetype, "file type is equal to mimetype")
         XCTAssert(file.data == data, "file data is equal to data")
-        XCTAssert(file.size == (data as NSData).length, "file data is equal to data")
     }
 
     func testFileMimetype() {

            let image = UIImage(named: "Logo"),
            let data = UIImagePNGRepresentation(image)
        else {
                return XCTAssertTrue(false, "File wasn't created successfuly")
        }

        let file = UploadHelper.file(for: data, name: name, mimeType: mimetype)

        }
    }

    func testFileName() {
        let filename = "filename.png"

