public function testGetById() { $product1 = Product::with("description.language")->find(1); //MacBook price:500 $this->assertNotNull($product1); $this->assertEquals(500, $product1->price); $product2 = Product::find(44); //MacBook price:1000 $this->assertNotNull($product2); $this->assertEquals(1000, $product2->price); }