Sha256: 05aa5deeee2e665444e372d75623b2e824a5d615884d42a65cc2a032d18e0dd9
Contents?: true
Size: 390 Bytes
Versions: 7
Compression:
Stored size: 390 Bytes
Contents
require 'test_helper' require 'dependency_injection/proxy_object' class TestProxyObject < Minitest::Test def setup @object = mock @proxy_object = DependencyInjection::ProxyObject.new { @object } end def test_calling_a_method_existing_on_object @object.expects(:existing_method).with('arg_1', 'arg_2') @proxy_object.existing_method('arg_1', 'arg_2') end end
Version data entries
7 entries across 7 versions & 1 rubygems