'Builds target xblock instance (DiscussionXBlock)
Signature-compatible with runtime.construct_xblock_from_class - can be used as a mock side-effect'

def _construct_xblock_mock(self, cls, keys):

    return DiscussionXBlock(self.runtime_mock, scope_ids=keys, field_data=DictFieldData({}))
