Exemplo n.º 1
0
 function testAppBuilderBuildAppWithAdditionalModules()
 {
     $this->setContainerBuilderMocks();
     $this->setModuleMocks();
     $additionalModule = $this->getMock('Conpago\\DI\\IModule');
     $additionalModule->expects($this->once())->method('build')->with($this->containerBuilder);
     $this->appBuilder->registerAdditionalModule($additionalModule);
     $this->appBuilder->buildApp();
 }
Exemplo n.º 2
0
 public function testAppBuilderBuildAppWithModule()
 {
     $this->setContainerBuilderMocks();
     $this->setModuleMocks();
     $this->appBuilder->buildApp();
 }