public function testCanCreateServiceWithBaseName() { $sm = $this->createServiceManager(); $this->assertTrue($this->factory->canCreate($sm, 'sendMail')); }