def METHOD_NAME():
    class OtherSection(MSection):
        pass
    class BaseSection(MSection):
        test_sub_section = SubSection(sub_section=OtherSection)
    class Section(BaseSection):
        pass
    assert 'test_sub_section' in Section.m_def.all_properties
    assert Section.test_sub_section == BaseSection.test_sub_section
    section = Section(test_sub_section=OtherSection())
    assert section.test_sub_section.m_def == OtherSection.m_def
    assert section.m_to_dict()['test_sub_section'] == {}