예제 #1
0
def test_consumer_calls_method_static_objliteral():
    assert ConsumerCanRingBell.static_implemented_by_object_literal(PythonBellRinger())
예제 #2
0
def test_consumer_calls_method_privateclass():
    assert ConsumerCanRingBell().implemented_by_private_class(PythonBellRinger())
예제 #3
0
def test_consumer_calls_method_typed_as_class():
    assert ConsumerCanRingBell().when_typed_as_class(PythonConcreteBellRinger())
예제 #4
0
def test_consumer_calls_method_static_publicclass():
    assert ConsumerCanRingBell.static_implemented_by_public_class(PythonBellRinger())