/** * @test */ public function findByIdOrNullShouldReturnNullWhenIdNotFound() { //given Product::create(array('name' => 'name')); //when $loadedProduct = Product::findByIdOrNull(00); //then $this->assertNull($loadedProduct); }