function testImplementsInjectionOfAClassDouble() { global $_PSST_ALL_CLASSES; $class = Phockito::spy_class(PhockitoSilverStripeTest_Implementor::class); $this->assertTrue(array_key_exists($class, $_PSST_ALL_CLASSES['implementors'][PhockitoSilverStripeTest_Interface::class])); }