/**
  * @covers ::getLabel
  */
 public function testGetLabel()
 {
     $this->pluginDefinition['label'] = 'Test label';
     $this->stringTranslation->expects($this->once())->method('translate')->with($this->pluginDefinition['label'], array(), array('context' => 'breakpoint'))->will($this->returnValue('Test label translated'));
     $this->setupBreakpoint();
     $this->assertEquals('Test label translated', $this->breakpoint->getLabel());
 }
 /**
  * @covers ::getLabel
  */
 public function testGetLabel()
 {
     $this->pluginDefinition['label'] = 'Test label';
     $this->setupBreakpoint();
     $this->assertEquals(new TranslatableMarkup('Test label', array(), array('context' => 'breakpoint'), $this->stringTranslation), $this->breakpoint->getLabel());
 }