Mongolid\Container\IocTest::testShouldCallMethodsPropertlywithFiveOrMoreArgument PHP Method

testShouldCallMethodsPropertlywithFiveOrMoreArgument() public method

    public function testShouldCallMethodsPropertlywithFiveOrMoreArgument()
    {
        $container = m::mock(Container::class);
        $container->shouldReceive('method')->once()->with(1, 2, 3, 4, 5)->andReturn(true);
        Ioc::setContainer($container);
        Ioc::method(1, 2, 3, 4, 5);
    }