provideName() public method

public provideName ( FileInfo $srcFileInfo )
$srcFileInfo FileNamingResolver\FileInfo
 public function testProvideName()
 {
     $srcFileInfo = new FileInfo(__FILE__);
     $strategy = new DatetimeNamingStrategy();
     $pathname = $strategy->provideName($srcFileInfo);
     $this->assertInternalType('string', $pathname);
     $this->assertStringStartsWith($srcFileInfo->getPath(), $pathname);
     $this->assertStringEndsNotWith($srcFileInfo->getFilename(), $pathname);
 }