We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 500b18e commit 871ff25Copy full SHA for 871ff25
src/Symfony/Component/Ldap/Tests/Adapter/ExtLdap/EntryManagerTest.php
@@ -17,6 +17,22 @@
17
18
class EntryManagerTest extends TestCase
19
{
20
+ /**
21
+ * @expectedException \Symfony\Component\Ldap\Exception\LdapException
22
+ * @expectedExceptionMessage Entry "$$$$$$" malformed, could not parse RDN.
23
+ */
24
+ public function testMove()
25
+ {
26
+ $connection = $this->createMock(Connection::class);
27
+ $connection
28
+ ->expects($this->once())
29
+ ->method('isBound')->willReturn(true);
30
+
31
+ $entry = new Entry('$$$$$$');
32
+ $entryManager = new EntryManager($connection);
33
+ $entryManager->move($entry, 'a');
34
+ }
35
36
/**
37
* @expectedException \Symfony\Component\Ldap\Exception\NotBoundException
38
* @expectedExceptionMessage Query execution is not possible without binding the connection first.
0 commit comments