/** * @test */ public function shouldReturnFalseIfDifferentAttributes() { //given $model1 = new Product(array('name' => 'product1')); $model2 = new Product(array('name' => 'product2')); $matcher = new ModelAttributesMatcher($model1); //when $result = $matcher->matches($model2); //then $this->assertFalse($result); }