def test_standard_events_called(self):
        self.handler.register('default', self.sample)
        assert len(self.handler.handlers) == 1
        assert 'default' in self.handler.handlers
        self.handler.run()
        self.sample.member_join.assert_called_with()
dataset/ETHPy150Open garethr/serf-master/serf_master/tests/handler_test.py/TestSerfHandlerProxyStandardEvent.test_standard_events_called/original