public function testApiSetCore_SetsCore()
{
$object = $this->createCoreAwareObject();
$core = $this->createCore();
$object->setCore($core);
$this->assertSame($core, $this->getProtectedProperty($object, 'core'));
}