setRenderingEngine() публичный Метод

public setRenderingEngine ( RenderingEngine $renderingEngine )
$renderingEngine RenderingEngine
Пример #1
0
 public function testRenderingEngine()
 {
     $ua = new UserAgent();
     $this->assertInstanceOf('UserAgentParser\\Model\\RenderingEngine', $ua->getRenderingEngine());
     $mock = self::createMock('UserAgentParser\\Model\\RenderingEngine');
     $ua->setRenderingEngine($mock);
     $this->assertSame($mock, $ua->getRenderingEngine());
 }