class MOCK_FUNCTION_EXPECTATION [T_ -> TUPLE, R_]
Summary
Class invariant
Overview
Creation features
Exported features
Action when an assert fails
Mock features
assert methods used by tests
item (a_arguments: MOCK_ARGUMENTS): R_
effective function
result_ready: BOOLEAN
writable attribute
then_return (a_item: R_): MOCK_FUNCTION_EXPECTATION [T_ -> TUPLE, R_]
effective function
infix "=>" (a_item: R_): MOCK_FUNCTION_EXPECTATION [T_ -> TUPLE, R_]
effective function
with_side_effect (a_side_effect: FUNCTION[TUPLE[TUPLE 1[MOCK_ARGUMENTS], R_]]): MOCK_FUNCTION_EXPECTATION [T_ -> TUPLE, R_]
effective function
infix "~>" (a_side_effect: FUNCTION[TUPLE[TUPLE 1[MOCK_ARGUMENTS], R_]]): MOCK_FUNCTION_EXPECTATION [T_ -> TUPLE, R_]
effective function
ready: BOOLEAN
writable attribute
target: MOCK_OBJECT
writable attribute
feature_name: FIXED_STRING
writable attribute
arg_matchers: MOCK_MATCHERS
writable attribute
counter_ready: BOOLEAN
effective function
out_in_tagged_out_memory
effective procedure
Append terse printable representation of current object in tagged_out_memory.
times (how_many: INTEGER_32): MOCK_FUNCTION_EXPECTATION [T_ -> TUPLE, R_]
effective function
infix "*" (how_many: INTEGER_32): MOCK_FUNCTION_EXPECTATION [T_ -> TUPLE, R_]
effective function
whenever: MOCK_FUNCTION_EXPECTATION [T_ -> TUPLE, R_]
effective function
can_call (a_target: MOCK_OBJECT, a_feature_name: FIXED_STRING, a_arguments: MOCK_ARGUMENTS): BOOLEAN
effective function
effective procedure
scenario: MOCK_SCENARIO
writable attribute
assert (test: BOOLEAN)
effective procedure
Check that test is actually True.
label_assert (label: ABSTRACT_STRING, test: BOOLEAN)
effective procedure
Check that test is actually True.
message_assert (message_generator: FUNCTION[TUPLE, ABSTRACT_STRING], test: BOOLEAN)
effective procedure
Check that test is actually True.