function it_should_add_a_control() { $control = new LdapControl('foo'); $this->addControl($control); $this->getControls()->shouldBeEqualTo([$control]); }