;
$this->resolver->
resolve(['foo' => null, 'bar' => null
]);
} public function testIsDeprecated() { $this->resolver
->
setDefined('foo'
) ->
setDeprecated('foo', 'vendor/package', '1.1'
) ;
$this->
assertTrue($this->resolver->
isDeprecated('foo'
));
} public function testIsNotDeprecatedIfEmptyString() { $this->resolver
->
setDefined('foo'
) ->
setDeprecated('foo', 'vendor/package', '1.1', ''
) ;
$this->
assertFalse($this->resolver->
isDeprecated('foo'
));
}