public function testTestCreateForFlagBagKeyMismatch()
{
$exception = InvalidArgumentExceptionFactory::createForFlagBagKeyMismatch(new DummyFixture('foo'), new FlagBag('bar'));
$this->assertEquals('Expected the fixture ID and the flags key to be the same. Got "foo" and "bar" instead.', $exception->getMessage());
$this->assertEquals(0, $exception->getCode());
$this->assertNull($exception->getPrevious());
}