->with('bundle')
->will($this->returnValue('test_type'));
$entity_type->expects($this->once())
- ->method('isSubClassOf')
+ ->method('entityClassImplements')
->with(FieldableEntityInterface::class)
->willReturn(TRUE);
->with('bundle')
->will($this->returnValue('test_type'));
$entity_type->expects($this->once())
- ->method('isSubClassOf')
+ ->method('entityClassImplements')
->with(FieldableEntityInterface::class)
->willReturn(TRUE);
$entity_type = $this->getMock('Drupal\Core\Entity\EntityTypeInterface');
$entity_type->expects($this->once())
- ->method('isSubClassOf')
+ ->method('entityClassImplements')
->with(FieldableEntityInterface::class)
->willReturn(TRUE);
$entity_type->expects($this->once())
$entity_type = $this->getMock('Drupal\Core\Entity\EntityTypeInterface');
$entity_type->expects($this->once())
- ->method('isSubClassOf')
+ ->method('entityClassImplements')
->with(FieldableEntityInterface::class)
->willReturn(FALSE);