TestClassEstateList
extends WP_UnitTestCase
in package
Tags
Table of Contents
- $_estatePicturesByEstateId : array<string|int, mixed>
- $_pContainer : Container
- $_pEnvironment : EstateListEnvironment
- $_pEstateList : EstateList
- $_pSDKWrapperMocker : SDKWrapperMocker
- prepareEstateList() : mixed
- testConstruct() : mixed
- testDefaultFilterBuilder() : mixed
- testEstateIterator() : mixed
- testEstateIteratorBadState() : mixed
- testFormatOutput() : mixed
- testGeoSearchBuilder() : mixed
- testGetCurrentEstateId() : mixed
- testGetCurrentMultiLangEstateMainId() : mixed
- testGetDataView() : mixed
- testGetDocument() : mixed
- testGetDocumentEmpty() : mixed
- testGetEstateContactIds() : mixed
- testGetEstateContacts() : mixed
- testGetEstateFiles() : mixed
- testGetEstateIds() : mixed
- testGetEstateLink() : mixed
- testGetEstateMovieLinks() : mixed
- testGetEstateOverallCount() : mixed
- testGetEstatePictures() : mixed
- testGetEstatePictureText() : mixed
- testGetEstatePictureTitle() : mixed
- testGetEstatePictureUrl() : mixed
- testGetEstatePictureValues() : mixed
- testGetEstateUnits() : mixed
- testGetFieldLabel() : mixed
- testGetMovieEmbedPlayers() : mixed
- testGetRawValues() : mixed
- testGetVisibleFilterableFields() : mixed
- testHasDetailView() : mixed
- testLoadEstates() : mixed
- testLoadRandomEstates() : mixed
- testRedirectIfOldUrl() : mixed
- testShowReferenceStatus() : mixed
- doTestGetEstatePictureMethodGeneric() : mixed
- getDataView() : DataListView
- getDataViewRandom() : DataListView
Properties
$_estatePicturesByEstateId
private
array<string|int, mixed>
$_estatePicturesByEstateId
= [15 => [2 => ['id' => 2, 'url' => 'https://test.url/image/2.jpg', 'title' => 'Awesome image', 'text' => 'An image for test', 'type' => 'Titelbild'], 3 => ['id' => 3, 'url' => 'https://test.url/image/3.png', 'title' => 'Another awesome image', 'text' => 'Another image for test', 'type' => 'Foto'], 4 => ['id' => 4, 'url' => 'https://test.url/image/4.png', 'title' => 'Another awesome image', 'text' => 'Another image for test', 'type' => 'Foto_gross']]]
$_pContainer
private
Container
$_pContainer
$_pEnvironment
private
EstateListEnvironment
$_pEnvironment
= null
$_pEstateList
private
EstateList
$_pEstateList
= null
$_pSDKWrapperMocker
private
SDKWrapperMocker
$_pSDKWrapperMocker
= null
Methods
prepareEstateList()
public
prepareEstateList() : mixed
Tags
Return values
mixed —testConstruct()
public
testConstruct() : mixed
Return values
mixed —testDefaultFilterBuilder()
public
testDefaultFilterBuilder() : mixed
Return values
mixed —testEstateIterator()
public
testEstateIterator() : mixed
Return values
mixed —testEstateIteratorBadState()
public
testEstateIteratorBadState() : mixed
Return values
mixed —testFormatOutput()
public
testFormatOutput() : mixed
Return values
mixed —testGeoSearchBuilder()
public
testGeoSearchBuilder() : mixed
Return values
mixed —testGetCurrentEstateId()
public
testGetCurrentEstateId() : mixed
Return values
mixed —testGetCurrentMultiLangEstateMainId()
public
testGetCurrentMultiLangEstateMainId() : mixed
Return values
mixed —testGetDataView()
public
testGetDataView() : mixed
Return values
mixed —testGetDocument()
public
testGetDocument() : mixed
Return values
mixed —testGetDocumentEmpty()
public
testGetDocumentEmpty() : mixed
Return values
mixed —testGetEstateContactIds()
public
testGetEstateContactIds() : mixed
Return values
mixed —testGetEstateContacts()
public
testGetEstateContacts() : mixed
Return values
mixed —testGetEstateFiles()
public
testGetEstateFiles() : mixed
Return values
mixed —testGetEstateIds()
public
testGetEstateIds() : mixed
Return values
mixed —testGetEstateLink()
public
testGetEstateLink() : mixed
Return values
mixed —testGetEstateMovieLinks()
public
testGetEstateMovieLinks() : mixed
Return values
mixed —testGetEstateOverallCount()
public
testGetEstateOverallCount() : mixed
Return values
mixed —testGetEstatePictures()
public
testGetEstatePictures() : mixed
Return values
mixed —testGetEstatePictureText()
public
testGetEstatePictureText() : mixed
Return values
mixed —testGetEstatePictureTitle()
public
testGetEstatePictureTitle() : mixed
Return values
mixed —testGetEstatePictureUrl()
public
testGetEstatePictureUrl() : mixed
Return values
mixed —testGetEstatePictureValues()
public
testGetEstatePictureValues() : mixed
Return values
mixed —testGetEstateUnits()
public
testGetEstateUnits() : mixed
Return values
mixed —testGetFieldLabel()
public
testGetFieldLabel() : mixed
Return values
mixed —testGetMovieEmbedPlayers()
public
testGetMovieEmbedPlayers() : mixed
Return values
mixed —testGetRawValues()
public
testGetRawValues() : mixed
Return values
mixed —testGetVisibleFilterableFields()
public
testGetVisibleFilterableFields() : mixed
Return values
mixed —testHasDetailView()
public
testHasDetailView() : mixed
Return values
mixed —testLoadEstates()
public
testLoadEstates() : mixed
Return values
mixed —testLoadRandomEstates()
public
testLoadRandomEstates() : mixed
Return values
mixed —testRedirectIfOldUrl()
public
testRedirectIfOldUrl() : mixed
Return values
mixed —testShowReferenceStatus()
public
testShowReferenceStatus() : mixed
Return values
mixed —doTestGetEstatePictureMethodGeneric()
private
doTestGetEstatePictureMethodGeneric(string $methodName, array<string|int, mixed> $expectedResults) : mixed
Parameters
- $methodName : string
- $expectedResults : array<string|int, mixed>
Tags
Return values
mixed —getDataView()
private
getDataView() : DataListView
Return values
DataListView —getDataViewRandom()
private
getDataViewRandom() : DataListView