NamespacedAttributeBagTest
extends TestCase
in package
Tests NamespacedAttributeBag.
Tags
Table of Contents
- $array : mixed
- $bag : NamespacedAttributeBag
- attributesProvider() : mixed
- testAll() : mixed
- testClear() : mixed
- testGet() : mixed
- testGetDefaults() : mixed
- testGetNoSideEffect() : mixed
- testGetStorageKey() : mixed
- testHas() : mixed
- testHasNoSideEffect() : mixed
- testInitialize() : mixed
- testRemove() : mixed
- testRemoveExistingNamespacedAttribute() : mixed
- testRemoveNonexistingNamespacedAttribute() : mixed
- testReplace() : mixed
- testSet() : mixed
- setUp() : mixed
- tearDown() : mixed
Properties
$array
private
mixed
$array
= []
$bag
private
NamespacedAttributeBag
$bag
Methods
attributesProvider()
public
attributesProvider() : mixed
Return values
mixed —testAll()
public
testAll() : mixed
Return values
mixed —testClear()
public
testClear() : mixed
Return values
mixed —testGet()
public
testGet(mixed $key, mixed $value, mixed $expected) : mixed
Parameters
- $key : mixed
- $value : mixed
- $expected : mixed
Tags
Return values
mixed —testGetDefaults()
public
testGetDefaults() : mixed
Return values
mixed —testGetNoSideEffect()
public
testGetNoSideEffect(mixed $key, mixed $value, mixed $expected) : mixed
Parameters
- $key : mixed
- $value : mixed
- $expected : mixed
Tags
Return values
mixed —testGetStorageKey()
public
testGetStorageKey() : mixed
Return values
mixed —testHas()
public
testHas(mixed $key, mixed $value, mixed $exists) : mixed
Parameters
- $key : mixed
- $value : mixed
- $exists : mixed
Tags
Return values
mixed —testHasNoSideEffect()
public
testHasNoSideEffect(mixed $key, mixed $value, mixed $expected) : mixed
Parameters
- $key : mixed
- $value : mixed
- $expected : mixed
Tags
Return values
mixed —testInitialize()
public
testInitialize() : mixed
Return values
mixed —testRemove()
public
testRemove() : mixed
Return values
mixed —testRemoveExistingNamespacedAttribute()
public
testRemoveExistingNamespacedAttribute() : mixed
Return values
mixed —testRemoveNonexistingNamespacedAttribute()
public
testRemoveNonexistingNamespacedAttribute() : mixed
Return values
mixed —testReplace()
public
testReplace() : mixed
Return values
mixed —testSet()
public
testSet(mixed $key, mixed $value, mixed $expected) : mixed
Parameters
- $key : mixed
- $value : mixed
- $expected : mixed
Tags
Return values
mixed —setUp()
protected
setUp() : mixed
Return values
mixed —tearDown()
protected
tearDown() : mixed