Exemplo n.º 1
0
 /**
  * @engine isolate
  * @dataProvider createAndSaveRawModel
  */
 public function test__toJson(\Brand $testBrand, $bddResult)
 {
     $this->string($testBrand->toJson())->isEqualTo('{"idBrand":"' . $bddResult['idBrand'] . '","nameBrand":"' . $bddResult['nameBrand'] . '","noteBrand":' . $bddResult['noteBrand'] . '}');
 }