File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
src/Symfony/Component/Ldap/Tests/Adapter/ExtLdap Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 17
17
18
18
class EntryManagerTest extends TestCase
19
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
+
20
36
/**
21
37
* @expectedException \Symfony\Component\Ldap\Exception\NotBoundException
22
38
* @expectedExceptionMessage Query execution is not possible without binding the connection first.
You can’t perform that action at this time.
0 commit comments