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