Mongolid\Container\IocTest::testShouldCallMethodsPropertlywithTwoArgument PHP Method

testShouldCallMethodsPropertlywithTwoArgument() public method

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