getJson() public static method

Gets Json String of Object Templates
public static getJson ( ) : string
return string
 /**
  * @dataProvider mockProvider
  * @param Templates $obj
  */
 public function testGetAll($obj, $mockApiContext)
 {
     $mockPPRestCall = $this->getMockBuilder('\\PayPal\\Transport\\PayPalRestCall')->disableOriginalConstructor()->getMock();
     $mockPPRestCall->expects($this->any())->method('execute')->will($this->returnValue(TemplatesTest::getJson()));
     $params = array();
     $result = $obj->getAll($params, $mockApiContext, $mockPPRestCall);
     $this->assertNotNull($result);
 }