def METHOD_NAME(self):
    archive = IArchive( 'cube.abc' )
    self.assertEqual(archive.getMaxNumSamplesForTimeSamplingIndex(0), 1)
    self.assertEqual(archive.getMaxNumSamplesForTimeSamplingIndex(1), 3)
    top = archive.getTop()
    self.assertEqual(top.getNumChildren(), 1)
    # IXform Object
    xform = top.getChild( 0 )
    self.assertEqual(xform.getName(), 'cube1')
    # IXform Properties
    xformTopCP = xform.getProperties()
    xformCP = xformTopCP.getProperty( 0 );
    inherits = xformCP.getProperty( '.inherits' )
    ops = xformCP.getProperty( '.ops' )
    vals = xformCP.getProperty( '.vals' )
    self.assertEqual(inherits.getNumSamples(), numSamplesPerCycle)
    self.assertEqual(ops.getNumSamples(), numSamplesPerCycle)
    self.assertEqual(vals.getNumSamples(), numSamplesPerCycle)
    # Get the time sampling associated with vals.
    tSamp = vals.getTimeSampling()
    # Access index at a given time
    index0 = tSamp.getNearIndex( tvec[0] + 0.1, numSamplesPerCycle )
    index1 = tSamp.getCeilIndex( tvec[0] + 0.1, numSamplesPerCycle )
    index2 = tSamp.getFloorIndex( tvec[2] + 0.1, numSamplesPerCycle )
    self.assertEqual(index0, 0)
    self.assertEqual(index1, 1)
    self.assertEqual(index2, 2)
    val0 = vals.samples[index0]
    val1 = vals.samples[index1]
    val2 = vals.samples[index2]
    self.assertEqual(val0, xformvec[0])
    self.assertEqual(val1, xformvec[1])
    self.assertEqual(val2, xformvec[2])
    # IPolyMesh Object
    mesh = xform.getChild( 'cube1Shape' )
    meshTopCP = mesh.getProperties()
    meshCP = meshTopCP.getProperty(0)
    # IPolyMesh Properties
    counts = meshCP.getProperty( '.faceCounts' )
    indices = meshCP.getProperty( '.faceIndices' )
    p = meshCP.getProperty( 'P' )
    bnds = meshCP.getProperty( '.selfBnds' )
    self.assertEqual(counts.samples[0], faceCounts)
    self.assertEqual(indices.samples[0], faceIndices)
    self.assertEqual(p.samples[0], points)
    self.assertEqual(bnds.samples[0], selfBnds)