assertClassNotHasStaticAttribute() public static method

Asserts that a class does not have a specified static attribute.
public static assertClassNotHasStaticAttribute ( string $attributeName, string $className, string $message = '' )
$attributeName string
$className string
$message string
Ejemplo n.º 1
0
/**
 * Asserts that a class does not have a specified static attribute.
 *
 * @param  string $attributeName
 * @param  string $className
 * @param  string $message
 * @since  Method available since Release 3.1.0
 */
function assertClassNotHasStaticAttribute($attributeName, $className, $message = '')
{
    return PHPUnit_Framework_Assert::assertClassNotHasStaticAttribute($attributeName, $className, $message);
}
Ejemplo n.º 2
0
 /**
  * Expect that a class does not have a specified static attribute.
  *
  * @param string $attributeName
  * @param string $message
  *
  * @return Expect
  */
 public function notToHaveStaticAttribute($attributeName, $message = '')
 {
     Assert::assertClassNotHasStaticAttribute($attributeName, $this->value, $message);
     return $this;
 }
Ejemplo n.º 3
0
 public function notHasStaticAttribute($attribute)
 {
     a::assertClassNotHasStaticAttribute($attribute, $this->actual, $this->description);
 }
Ejemplo n.º 4
0
 public function doesNotHaveStaticAttribute($attribute)
 {
     Assert::assertClassNotHasStaticAttribute($attribute, $this->actual, $this->description);
     return $this;
 }