diff --git a/profiles/VariableProfiles.php b/profiles/VariableProfiles.php index 9b39856..7329efc 100644 --- a/profiles/VariableProfiles.php +++ b/profiles/VariableProfiles.php @@ -2,6 +2,7 @@ class VariableProfiles implements IProfile { public function __construct() { + $this->null = null; $this->string = "foo"; $this->bool = true; $this->integer= 1234; @@ -21,6 +22,14 @@ public function profileIsEmptyOnSimpleString() { empty($this->string); } + public function profileIsEmptyOnNullValue() { + empty($this->null); + } + + public function profileIsNullOnNullValue() { + null == $this->null; + } + /* public function profileIsEmptyOnBoolean() { empty($this->bool);