/**
  * @return void
  */
 public function testPutTranslations()
 {
     $file = Plugin::path('Transifex') . 'tests/test_files/test.pot';
     $this->assertTrue(is_file($file));
     $resource = 'foo';
     $this->Transifex = $this->getMock('Transifex\\Lib\\TransifexLib', ['_post'], [$this->Transifex->settings]);
     $mockedResponse = ['strings_added' => 0, 'strings_updated' => 0, 'strings_delete' => 0];
     $this->Transifex->expects($this->any())->method('_post')->will($this->returnValue($mockedResponse));
     $result = $this->Transifex->putTranslations($resource, 'de', $file);
     $this->assertSame($mockedResponse, $result);
 }