protected function createMatcher()
 {
     return Hamcrest_Text_IsEmptyString::isEmptyOrNullString();
 }
Exemple #2
0
/**
 * Matches if value is null or a zero-length string.
 */
function nullOrEmptyString()
{
    require_once 'Hamcrest/Text/IsEmptyString.php';
    return Hamcrest_Text_IsEmptyString::isEmptyOrNullString();
}