Checks that argument object has specific state.
string $methodName:
mixed $value:
Token\ObjectStateToken
public static function which($methodName, $value) { return new Token\ObjectStateToken($methodName, $value); }