def test_consumer_calls_method_static_objliteral(): assert ConsumerCanRingBell.static_implemented_by_object_literal(PythonBellRinger())
def test_consumer_calls_method_privateclass(): assert ConsumerCanRingBell().implemented_by_private_class(PythonBellRinger())
def test_consumer_calls_method_typed_as_class(): assert ConsumerCanRingBell().when_typed_as_class(PythonConcreteBellRinger())
def test_consumer_calls_method_static_publicclass(): assert ConsumerCanRingBell.static_implemented_by_public_class(PythonBellRinger())