function it_should_get_an_add_operation() { $this->toOperation()->shouldReturnAnInstanceOf('LdapTools\\Operation\\BatchModifyOperation'); $this->toOperation()->getDn()->shouldBeEqualTo('dc=foo,dc=bar'); }