     func testInitMinValues()
     {
         let snapshot:Any = ""
-        let currentTime:TimeInterval = Date().timeIntervalSince1970
         
         let model:FDatabaseModelUser = FDatabaseModelUser(
             snapshot:snapshot)

class TFDatabaseModelUser:XCTestCase
{
    private let kEmail:String = "atest@mail.com"
    private let kCreated:TimeInterval = 123456
    private let kDiskUsed:Int = 3098765
    private let kDiskInitial:Int = 0

    
    func testInitEmailTokenVersion()
    {
        let currentTime:TimeInterval = Date().timeIntervalSince1970
        
        let model:FDatabaseModelUser = FDatabaseModelUser(
            email:kEmail,
            token:kToken,
            version:kVersion)
        
        XCTAssertEqual(
            model.email,
            kEmail,
            "Error email not matching")
        
        XCTAssertEqual(
            model.session.token,
            kToken,
            "Error session doesn't use the same token")
        
        XCTAssertGreaterThanOrEqual(
            model.created,
            currentTime,
            "Error created has to be greater than current time")
        
        XCTAssertEqual(
            model.diskUsed,
            kDiskInitial,
            "Error disk used not zero")
    }
}
