/** * @todo - this may be unwanted behaviour */ public function testThePatternWillFailIfValueForATraversableValueIsFalse() { $map = ['a' => ['b' => 'string']]; $test = ['a' => false]; $sut = new HasTypeMap($map); $this->assertFalse($sut($test, $this->messenger)); $this->assertEquals("Value has invalid type map", $this->messenger->implode()); }