public function testApiMove_ThrowsException_WhenSourceIsFileAndDestinationIsDirectory()
{
$test = $this->getTest();
$fs = $this->createFilesystem();
$from = $this->getPrefixed('FILE_A');
$to = $this->getPrefixed('DIR_B');
$test->setExpectedException(WriteException::class);
$test->assertTrue($fs->exists($to));
$fs->move($from, $to);
}