function it_should_chain_the_setters() { $this->setDn('foo')->shouldReturnAnInstanceOf('\\LdapTools\\Operation\\AddOperation'); $this->setAttributes(['foo' => 'bar'])->shouldReturnAnInstanceOf('\\LdapTools\\Operation\\AddOperation'); }