/** * @test */ public function shouldCountValuesWithoutWhere() { //given Product::create(array('name' => 'Sport', 'price' => '123')); //when $count = Product::count(); //then $this->assertEquals(1, $count); }