PHP Class DeploymentsControllerTest

Inheritance: extends TestCase, use trait Tests\Helpers\ControllerTestHelper, use trait Tests\Helpers\MockeryHelper
Mostrar archivo Open project: ngmy/webloyer

Protected Properties

Property Type Description
$mockDeploymentForm
$mockDeploymentModel
$mockProjectModel
$mockProjectRepository

Public Methods

Method Description
setUp ( )
test_Should_DisplayIndexPage_When_IndexPageIsRequested ( )
test_Should_DisplayNotFoundPage_When_ShowPageIsRequestedAndResourceIsNotFound ( )
test_Should_DisplayShowPage_When_ShowPageIsRequestedAndResourceIsFound ( )
test_Should_RedirectToIndexPage_When_StoreProcessFails ( )
test_Should_RedirectToIndexPage_When_StoreProcessSucceeds ( )

Method Details

setUp() public method

public setUp ( )

test_Should_DisplayIndexPage_When_IndexPageIsRequested() public method

test_Should_DisplayNotFoundPage_When_ShowPageIsRequestedAndResourceIsNotFound() public method

test_Should_DisplayShowPage_When_ShowPageIsRequestedAndResourceIsFound() public method

test_Should_RedirectToIndexPage_When_StoreProcessFails() public method

test_Should_RedirectToIndexPage_When_StoreProcessSucceeds() public method

Property Details

$mockDeploymentForm protected_oe property

protected $mockDeploymentForm

$mockDeploymentModel protected_oe property

protected $mockDeploymentModel

$mockProjectModel protected_oe property

protected $mockProjectModel

$mockProjectRepository protected_oe property

protected $mockProjectRepository