/**
  * @return void
  */
 public function testCreateTableByDdl()
 {
     $table = $this->getMockBuilder('Magento\\Framework\\DB\\Ddl\\Table')->setMethods(['getName'])->disableOriginalConstructor()->getMock();
     $table->expects($this->exactly(2))->method('getName')->will($this->returnValue('some_name'));
     $this->pdoMysql->expects($this->once())->method('dropTable')->with('some_name');
     $this->pdoMysql->expects($this->once())->method('createTable')->with($table);
     $this->pdoMysql->expects($this->once())->method('resetDdlCache')->with('some_name');
     $this->adapterMysql->createTableByDdl($table);
 }