public function testGetRecordsCount()
 {
     $select = $this->getMock('\\Magento\\Framework\\DB\\Select', ['from'], [], '', false);
     $select->expects($this->any())->method('from')->with($this->equalTo('some_table'), $this->equalTo('COUNT(*)'));
     $this->pdoMysql->expects($this->any())->method('select')->willReturn($select);
     $this->pdoMysql->expects($this->any())->method('fetchOne')->with($this->equalTo($select))->willReturn(10);
     $this->assertEquals(10, $this->adapterMysql->getRecordsCount('some_table'));
 }