Php 预言之谜

Php 预言之谜,php,phpunit,prophecy,Php,Phpunit,Prophecy,我有$entity\u type->isSubClassOf('Drupal\Core\entity\FieldableEntityInterface')->将返回(TRUE)并得到这个非常令人困惑的错误: Prophecy\Exception\Call\UnexpectedCallException: Method call: - isSubclassOf("Drupal\Core\Entity\FieldableEntityInterface") on Double\EntityType

我有
$entity\u type->isSubClassOf('Drupal\Core\entity\FieldableEntityInterface')->将返回(TRUE)并得到这个非常令人困惑的错误:

Prophecy\Exception\Call\UnexpectedCallException: Method call:
  - isSubclassOf("Drupal\Core\Entity\FieldableEntityInterface")
on Double\EntityTypeInterface\P121 was not expected, expected calls were:
  - isSubClassOf(exact("Drupal\Core\Entity\FieldableEntityInterface"))

仔细的读者会在
isSub
之后观察小写c和大写c。我把问题发到了