def METHOD_NAME(self):
    """
        Create a small csv file, use populate_metadata.py to parse and
        attach to Plate. Then query to check table has expected content.
    """
    csvName = "testCreate.csv"
    self.createCsv(csvName)
    rowCount = 1
    colCount = 2
    plate = self.createPlate(rowCount, colCount)
    ctx = ParsingContext(self.client, plate, csvName)
    ctx.parse()
    ctx.write_to_omero()
    # Delete local temp file
    os.remove(csvName)
    # Get file annotations
    query = """select p from Plate p
        left outer join fetch p.annotationLinks links
        left outer join fetch links.child
        where p.id=%s""" % plate.id.val
    qs = self.client.sf.getQueryService()
    plate = qs.findByQuery(query, None)
    anns = plate.linkedAnnotationList()
    # Only expect a single annotation which is a 'bulk annotation'
    assert len(anns) == 1
    tableFileAnn = anns[0]
    assert unwrap(tableFileAnn.getNs()) == NSBULKANNOTATIONS
    fileid = tableFileAnn.file.id.val
    # Open table to check contents
    r = self.client.sf.sharedResources()
    t = r.openTable(OriginalFileI(fileid), None)
    cols = t.getHeaders()
    rows = t.getNumberOfRows()
    assert rows == rowCount * colCount
    for hit in range(rows):
        values = t.read(list(range(len(cols))), hit, hit+1).columns
        rowValues = [col.values[0] for col in values]
        assert len(rowValues) == 4
        if "a1" in rowValues:
            assert "Control" in rowValues
        elif "a2" in rowValues:
            assert "Treatment" in rowValues
        else:
            assert False, "Row does not contain 'a1' or 'a2'"