function it_should_support_being_constructed_with_a_username_and_password() { $this->beConstructedWith('foo', 'bar'); $this->getUsername()->shouldBeEqualTo('foo'); $this->getPassword()->shouldBeEqualTo('bar'); }