Nelmio\Alice\Throwable\Exception\InvalidArgumentExceptionFactoryTest::testTestCreateForReferenceKeyMismatch PHP Method

testTestCreateForReferenceKeyMismatch() public method

    public function testTestCreateForReferenceKeyMismatch()
    {
        $exception = InvalidArgumentExceptionFactory::createForReferenceKeyMismatch('foo', 'bar');
        $this->assertEquals('Reference key mismatch, the keys "foo" and "bar" refers to the same fixture but the keys are different.', $exception->getMessage());
        $this->assertEquals(0, $exception->getCode());
        $this->assertNull($exception->getPrevious());
    }