function it_should_get_the_ldif_string_for_the_entry() { $ldif = "# Delete example.\r\n" . "dn: dc=foo,dc=bar\r\n" . "changetype: delete\r\n"; $this->addComment('Delete example.'); $this->toString()->shouldBeEqualTo($ldif); }