shard-spectator/src/spectator/mocks/mock_registry_entry.cr
2022-06-28 23:36:24 -06:00

14 lines
297 B
Crystal

require "./method_call"
require "./stub"
module Spectator
# Stubs and calls for a mock.
private struct MockRegistryEntry
# Retrieves all stubs defined for a mock.
property stubs = [] of Stub
# Retrieves all calls to stubbed methods.
getter calls = [] of MethodCall
end
end