getMockBuilder(ControllerNameParser::class) ->disableOriginalConstructor() ->getMock(); new DelegatingLoader($controllerNameParser, new LoaderResolver()); $this->assertTrue(true, '__construct() takes a ControllerNameParser and LoaderResolverInterface respectively as its first and second argument.'); } }