Code Duplication    Length = 7-7 lines in 2 locations

spec/Fenos/Notifynder/Builder/NotifynderBuilderSpec.php 2 locations

@@ 45-51 (lines=7) @@
42
    }
43
44
    /** @test */
45
    function it_set_the_FROM_value_giving_a_polymorphic_entity_the_first_value_must_be_the_class_entity()
46
    {
47
        $user_id = 1;
48
        $user_class = 'User';
49
50
        $this->shouldThrow('InvalidArgumentException')->during('from',[$user_id,$user_class]);
51
    }
52
53
    /** @test */
54
    function it_set_the_TO_value_with_a_single_entity()
@@ 71-77 (lines=7) @@
68
    }
69
70
    /** @test */
71
    function it_set_the_TO_value_giving_a_polymorphic_entity_the_first_value_must_be_the_class_entity()
72
    {
73
        $user_id = 1;
74
        $user_class = 'User';
75
76
        $this->shouldThrow('InvalidArgumentException')->during('to',[$user_id,$user_class]);
77
    }
78
79
    /** @test */
80
    function it_add_the_url_parameter_to_the_builder()