def METHOD_NAME(self):
    """Check if size of MO section is equal to expected."""
    fpath = os.path.join(__datadir__,
                         "data/GAMESS/basicGAMESS-US2018/dvb_un_sp.out")
    data = cclib.io.ccread(fpath)
    writer = cclib.io.moldenwriter.MOLDEN(data)
    # Check size of MO section.
    size_mo_ccdata = 0
    extra = 4 if hasattr(data, 'mosyms') else 3
    for i in range(data.mult):
        size_mo_ccdata += len(data.moenergies[i]) *\
                            (len(data.mocoeffs[i][0]) + extra)
    # Filter blank lines.
    mosyms, moenergies, mooccs, mocoeffs = writer._syms_energies_occs_coeffs_from_ccdata_for_moldenwriter()
    size_mo_writer = len(list(filter(None, writer._mo_from_ccdata(mosyms, moenergies, mooccs, mocoeffs))))
    assert size_mo_writer == size_mo_ccdata