So, the «Call to protected method PHPUnit_Framework_TestCase::getMockForAbstractClass()» issue means you are mistakenly using your own PHPUnit package instead of the shipped with Magento 2 (maybe because of your IDE settings).