nodeExists( '/collection/resource.html' ) ); } public function assertDestinationParentStillCorrect( ezcWebdavMemoryBackend $backend ) { $prop = $backend->getProperty( '/other_collection', 'lockdiscovery' ); PHPUnit_Framework_Assert::assertNull( $prop, 'Lock discovery property set on destination parent.' ); } public function assertDestinationCorrect( ezcWebdavMemoryBackend $backend ) { PHPUnit_Framework_Assert::assertTrue( $backend->nodeExists( '/other_collection/moved_resource.html' ) ); $prop = $backend->getProperty( '/other_collection/moved_resource.html', 'lockdiscovery' ); PHPUnit_Framework_Assert::assertNotNull( $prop, 'Lock discovery property not available on destination.' ); PHPUnit_Framework_Assert::assertEquals( 0, count( $prop->activeLock ), 'Active lock available on destination.' ); } } return new ezcWebdavLockPluginClientTestAssertions017(); ?>