function it_can_be_compared_to_other_template_fragments($sameValue, $differentValue, $differentType)
    {
        $sameValue->getValueMask()->willReturn(['1', '2']);
        $sameValue->getTypeMask()->willReturn('[..]');

        $this->equals($sameValue)->shouldReturn(true);

        $differentValue->getValueMask()->willReturn(['3', '4']);
        $differentValue->getTypeMask()->willReturn('[..]');

        $this->equals($differentValue)->shouldReturn(false);

        $differentType->getValueMask()->willReturn(['1', '2']);
        $differentType->getTypeMask()->willReturn('[##]');

        $this->equals($differentType)->shouldReturn(false);
    }