Пример #1
0
 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);
 }