public function implement($interface)
    {
        $message = ['Class %s {{does not implement|implements}} interface %s', $this->value, $interface];
        $this->assert((in_array($interface, class_implements($this->value))), $message);

        return $this;
    }