/** * @group unit */ public function testInstantiate() { $name = 'index_template1'; $client = $this->_getClient(); $indexTemplate = new IndexTemplate($client, $name); $indexTemplate->getName(); $this->assertSame($client, $indexTemplate->getClient()); $this->assertEquals($name, $indexTemplate->getName()); }