for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Kahlan\Extra\Matcher;
use Kahlan\Matcher\ToContain;
class ToBeOneOf
{
/**
* Checks that `$expected` has value of `$actual`.
*
* @param mixed $actual The actual value.
* @param mixed $expected The expected value.
* @return boolean
*/
public static function match($actual, $expected)
return ToContain::match($expected, $actual);
}
* Returns the description message.
* @return string The description message.
public static function description()
return "be part of the expected values.";