/** * @test */ public function existsReturnsTrueIfTheSpecifiedFormExists() { $mockYamlFormDefinition = 'type: \'TYPO3.Form:Form\' identifier: formFixture label: \'Form Fixture\' '; file_put_contents(vfsStream::url('someSavePath/mockFormPersistenceIdentifier.yaml'), $mockYamlFormDefinition); $this->assertTrue($this->yamlPersistenceManager->exists('mockFormPersistenceIdentifier')); }